home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Arcade•
/
Continuum 1.03 •••••
/
Continuum
/
Continuum.rsrc
/
CODE_7.txt
< prev
next >
Wrap
Text File
|
1990-08-25
|
290KB
|
5,163 lines
# near model CODE resource
# jump table entries: 33536-33539 (4 of them)
export_99:
00000000 4E56 FF5E link A6, -0x00A2
00000004 4EBA 011C jsr [PC + 0x11C /* 00000122 */]
00000008 7001 moveq.l D0, 0x01
0000000A 3B40 D1F0 move.w [A5 - 0x2E10], D0
0000000E 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
00000012 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
00000016 548F addq.l A7, 2
00000018 486E FF64 pea.l [A6 - 0x9C]
0000001C 4EBA 02A4 jsr [PC + 0x2A4 /* 000002C2 */]
00000020 588F addq.l A7, 4
00000022 426D FEA4 clr.w [A5 - 0x15C]
00000026 426D FEA6 clr.w [A5 - 0x15A]
0000002A 426D FEA8 clr.w [A5 - 0x158]
0000002E 4EBA 0BF4 jsr [PC + 0xBF4 /* 00000C24 */]
label00000032:
00000032 4EBA 03C0 jsr [PC + 0x3C0 /* 000003F4 */]
00000036 3D40 FF5E move.w [A6 - 0xA2], D0
0000003A 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
0000003E 4EBA 0CEC jsr [PC + 0xCEC /* 00000D2C */]
00000042 548F addq.l A7, 2
00000044 4A40 tst.w D0
00000046 67EA beq -0x14 /* 00000032 */
00000048 4EBA 0044 jsr [PC + 0x44 /* 0000008E */]
0000004C 2F2D FEFC move.l -[A7], [A5 - 0x104]
00000050 A8D9 syscall DisposRgn/DisposeRgn
00000052 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00000056 A956 syscall KillControls
00000058 2F2D FEC8 move.l -[A7], [A5 - 0x138]
0000005C A92D syscall CloseWindow
0000005E 600A bra +0xC /* 0000006A */
label00000060:
00000060 206E FF60 movea.l A0, [A6 - 0xA0]
00000064 3F28 006C move.w -[A7], [A0 + 0x6C]
00000068 A9B7 syscall CloseDeskAcc
label0000006A:
0000006A 42A7 clr.l -[A7]
0000006C A924 syscall FrontWindow
0000006E 205F movea.l A0, [A7]+
00000070 2D48 FF60 move.l [A6 - 0xA0], A0
00000074 B0FC 0000 cmpa.w A0, 0x0
00000078 66E6 bne -0x18 /* 00000060 */
0000007A 4EBA 01C0 jsr [PC + 0x1C0 /* 0000023C */]
0000007E 302E FF5E move.w D0, [A6 - 0xA2]
00000082 4E5E unlink A6
00000084 4E75 rts
00000086 504C addq.w A4, 8
00000088 414E chk.w D0, A6
0000008A 4544 chk.w D2, D4
0000008C 4954 chk.w D4, [A4]
fn0000008E:
0000008E 4267 clr.w -[A7]
00000090 3F2D D290 move.w -[A7], [A5 - 0x2D70]
00000094 3F3C 0001 move.w -[A7], 0x1
00000098 42A7 clr.l -[A7]
0000009A 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
0000009E 301F move.w D0, [A7]+
000000A0 3F2D D290 move.w -[A7], [A5 - 0x2D70]
000000A4 3F3C FFEF move.w -[A7], 0xFFEF
000000A8 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
000000AC 588F addq.l A7, 4
000000AE 3F2D D290 move.w -[A7], [A5 - 0x2D70]
000000B2 3F2D D28C move.w -[A7], [A5 - 0x2D74]
000000B6 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
000000BA 588F addq.l A7, 4
000000BC 3F2D D290 move.w -[A7], [A5 - 0x2D70]
000000C0 3F2D D28E move.w -[A7], [A5 - 0x2D72]
000000C4 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
000000C8 588F addq.l A7, 4
000000CA 4267 clr.w -[A7]
000000CC 3F2D D290 move.w -[A7], [A5 - 0x2D70]
000000D0 3F3C 0001 move.w -[A7], 0x1
000000D4 4878 000A push.l 0xA /* '\n' */
000000D8 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
000000DC 301F move.w D0, [A7]+
000000DE 486D D1F6 pea.l [A5 - 0x2E0A]
000000E2 3F3C 0096 move.w -[A7], 0x96
000000E6 3F2D D290 move.w -[A7], [A5 - 0x2D70]
000000EA 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000000EE 508F addq.l A7, 8
000000F0 306D D28C movea.w A0, [A5 - 0x2D74]
000000F4 2F08 move.l -[A7], A0
000000F6 4878 0604 push.l 0x604
000000FA 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
000000FE 4267 clr.w -[A7]
00000100 3F2D D290 move.w -[A7], [A5 - 0x2D70]
00000104 0680 0000 00A0 addi.l D0, 0xA0
0000010A 2F00 move.l -[A7], D0
0000010C 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000110 301F move.w D0, [A7]+
00000112 4267 clr.w -[A7]
00000114 42A7 clr.l -[A7]
00000116 3F2D D292 move.w -[A7], [A5 - 0x2D6E]
0000011A 4EAD 00B2 jsr [A5 + 0xB2 /* export_18 */]
0000011E 301F move.w D0, [A7]+
00000120 4E75 rts
fn00000122:
00000122 4E56 FFFC link A6, -0x0004
00000126 42A7 clr.l -[A7]
00000128 3F3C 0002 move.w -[A7], 0x2
0000012C A949 syscall GetMenuHandle
0000012E 205F movea.l A0, [A7]+
00000130 2D48 FFFC move.l [A6 - 0x4], A0
00000134 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000138 3F3C 0004 move.w -[A7], 0x4
0000013C 4879 0000 0100 push.l 0x100
00000142 A947 syscall SetMenuItemText/SetItem
00000144 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000148 3F3C 0001 move.w -[A7], 0x1
0000014C A939 syscall EnableItem
0000014E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000152 3F3C 0006 move.w -[A7], 0x6
00000156 A93A syscall DisableItem
00000158 42A7 clr.l -[A7]
0000015A 3F3C 0003 move.w -[A7], 0x3
0000015E A949 syscall GetMenuHandle
00000160 205F movea.l A0, [A7]+
00000162 2D48 FFFC move.l [A6 - 0x4], A0
00000166 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000016A 4267 clr.w -[A7]
0000016C A939 syscall EnableItem
0000016E 42A7 clr.l -[A7]
00000170 3F3C 0004 move.w -[A7], 0x4
00000174 A949 syscall GetMenuHandle
00000176 205F movea.l A0, [A7]+
00000178 2D48 FFFC move.l [A6 - 0x4], A0
0000017C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000180 4267 clr.w -[A7]
00000182 A93A syscall DisableItem
00000184 42A7 clr.l -[A7]
00000186 3F3C 0005 move.w -[A7], 0x5
0000018A A9BF syscall GetRMenu
0000018C 205F movea.l A0, [A7]+
0000018E 2B48 FEC0 move.l [A5 - 0x140], A0
00000192 2F2D FEC0 move.l -[A7], [A5 - 0x140]
00000196 4267 clr.w -[A7]
00000198 A935 syscall InsertMenu
0000019A 42A7 clr.l -[A7]
0000019C 3F3C 0006 move.w -[A7], 0x6
000001A0 A9BF syscall GetRMenu
000001A2 205F movea.l A0, [A7]+
000001A4 2B48 FEC4 move.l [A5 - 0x13C], A0
000001A8 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
000001AC 4267 clr.w -[A7]
000001AE A935 syscall InsertMenu
000001B0 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
000001B4 3F3C 0001 move.w -[A7], 0x1
000001B8 1F2D FE97 move.b -[A7], [A5 - 0x169]
000001BC A945 syscall CheckItem
000001BE 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
000001C2 3F3C 0002 move.w -[A7], 0x2
000001C6 1F2D FE95 move.b -[A7], [A5 - 0x16B]
000001CA A945 syscall CheckItem
000001CC 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
000001D0 3F3C 0003 move.w -[A7], 0x3
000001D4 1F2D FE99 move.b -[A7], [A5 - 0x167]
000001D8 A945 syscall CheckItem
000001DA 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
000001DE 3F3C 0004 move.w -[A7], 0x4
000001E2 1F2D FE9B move.b -[A7], [A5 - 0x165]
000001E6 A945 syscall CheckItem
000001E8 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
000001EC 3F3C 0005 move.w -[A7], 0x5
000001F0 1F2D FE9D move.b -[A7], [A5 - 0x163]
000001F4 A945 syscall CheckItem
000001F6 A937 syscall DrawMenuBar
000001F8 42A7 clr.l -[A7]
000001FA 3F3C 0080 move.w -[A7], 0x80
000001FE A9B9 syscall GetCursor
00000200 205F movea.l A0, [A7]+
00000202 2B48 FEB0 move.l [A5 - 0x150], A0
00000206 42A7 clr.l -[A7]
00000208 3F3C 0081 move.w -[A7], 0x81
0000020C A9B9 syscall GetCursor
0000020E 205F movea.l A0, [A7]+
00000210 2B48 FEB4 move.l [A5 - 0x14C], A0
00000214 42A7 clr.l -[A7]
00000216 3F3C 0082 move.w -[A7], 0x82
0000021A A9B9 syscall GetCursor
0000021C 205F movea.l A0, [A7]+
0000021E 2B48 FEB8 move.l [A5 - 0x148], A0
00000222 42A7 clr.l -[A7]
00000224 3F3C 0002 move.w -[A7], 0x2
00000228 A9B9 syscall GetCursor
0000022A 205F movea.l A0, [A7]+
0000022C 2B48 FEBC move.l [A5 - 0x144], A0
00000230 4E5E unlink A6
00000232 4E75 rts
00000234 504C addq.w A4, 8
00000236 414E chk.w D0, A6
00000238 4D45 chk.w D6, D5
0000023A 4E55 4E56 link A5, -0xFFFFB1AA
// begin alternate branch 0000023C-00000240
fn0000023C:
0000023C 4E56 FFFC link A6, -0x0004
// end alternate branch 0000023C-00000240
fn0000023C: // (misaligned)
0000023E FFFC .invalid <<F/7/7>>
00000240 42A7 clr.l -[A7]
00000242 3F3C 0002 move.w -[A7], 0x2
00000246 A949 syscall GetMenuHandle
00000248 205F movea.l A0, [A7]+
0000024A 2D48 FFFC move.l [A6 - 0x4], A0
0000024E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000252 3F3C 0004 move.w -[A7], 0x4
00000256 4879 0000 0110 push.l 0x110
0000025C A947 syscall SetMenuItemText/SetItem
0000025E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000262 3F3C 0001 move.w -[A7], 0x1
00000266 A93A syscall DisableItem
00000268 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000026C 3F3C 0006 move.w -[A7], 0x6
00000270 A939 syscall EnableItem
00000272 42A7 clr.l -[A7]
00000274 3F3C 0003 move.w -[A7], 0x3
00000278 A949 syscall GetMenuHandle
0000027A 205F movea.l A0, [A7]+
0000027C 2D48 FFFC move.l [A6 - 0x4], A0
00000280 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000284 4267 clr.w -[A7]
00000286 A93A syscall DisableItem
00000288 42A7 clr.l -[A7]
0000028A 3F3C 0004 move.w -[A7], 0x4
0000028E A949 syscall GetMenuHandle
00000290 205F movea.l A0, [A7]+
00000292 2D48 FFFC move.l [A6 - 0x4], A0
00000296 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000029A 4267 clr.w -[A7]
0000029C A939 syscall EnableItem
0000029E 3F3C 0005 move.w -[A7], 0x5
000002A2 A936 syscall DeleteMenu
000002A4 3F3C 0006 move.w -[A7], 0x6
000002A8 A936 syscall DeleteMenu
000002AA 2F2D FEC0 move.l -[A7], [A5 - 0x140]
000002AE A9A3 syscall ReleaseResource
000002B0 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
000002B4 A9A3 syscall ReleaseResource
000002B6 4E5E unlink A6
000002B8 4E75 rts
000002BA 554E subq.w A6, 2
000002BC 504C addq.w A4, 8
000002BE 414E chk.w D0, A6
000002C0 4D45 chk.w D6, D5
fn000002C2:
000002C2 4E56 0000 link A6, 0
000002C6 42A7 clr.l -[A7]
000002C8 3F3C 0081 move.w -[A7], 0x81
000002CC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000002D0 4878 FFFF push.l 0xFFFF
000002D4 A9BD syscall GetNewWindow
000002D6 205F movea.l A0, [A7]+
000002D8 2B48 FEC8 move.l [A5 - 0x138], A0
000002DC 2F2D FEC8 move.l -[A7], [A5 - 0x138]
000002E0 A873 syscall SetPort
000002E2 42A7 clr.l -[A7]
000002E4 3F3C 0081 move.w -[A7], 0x81
000002E8 2F2D FEC8 move.l -[A7], [A5 - 0x138]
000002EC A9BE syscall GetNewControl
000002EE 205F movea.l A0, [A7]+
000002F0 2B48 FECC move.l [A5 - 0x134], A0
000002F4 42A7 clr.l -[A7]
000002F6 3F3C 0082 move.w -[A7], 0x82
000002FA 2F2D FEC8 move.l -[A7], [A5 - 0x138]
000002FE A9BE syscall GetNewControl
00000300 205F movea.l A0, [A7]+
00000302 2B48 FED0 move.l [A5 - 0x130], A0
00000306 426D FEDE clr.w [A5 - 0x122]
0000030A 426D FEDC clr.w [A5 - 0x124]
0000030E 7020 moveq.l D0, 0x20
00000310 3B40 FEE2 move.w [A5 - 0x11E], D0
00000314 3B7C 011C FEE0 move.w [A5 - 0x120], 0x11C
0000031A 426D FEE6 clr.w [A5 - 0x11A]
0000031E 426D FEE4 clr.w [A5 - 0x11C]
00000322 7020 moveq.l D0, 0x20
00000324 3B40 FEEA move.w [A5 - 0x116], D0
00000328 3B7C 0080 FEE8 move.w [A5 - 0x118], 0x80
0000032E 426D FEF6 clr.w [A5 - 0x10A]
00000332 3B7C 0082 FEF4 move.w [A5 - 0x10C], 0x82
00000338 7020 moveq.l D0, 0x20
0000033A 3B40 FEFA move.w [A5 - 0x106], D0
0000033E 3B7C 00D2 FEF8 move.w [A5 - 0x108], 0xD2
00000344 426D FEEE clr.w [A5 - 0x112]
00000348 3B7C 00D4 FEEC move.w [A5 - 0x114], 0xD4
0000034E 7020 moveq.l D0, 0x20
00000350 3B40 FEF2 move.w [A5 - 0x10E], D0
00000354 3B7C 011C FEF0 move.w [A5 - 0x110], 0x11C
0000035A 7020 moveq.l D0, 0x20
0000035C 3B40 FED6 move.w [A5 - 0x12A], D0
00000360 426D FED4 clr.w [A5 - 0x12C]
00000364 3B7C 01EC FEDA move.w [A5 - 0x126], 0x1EC
0000036A 3B7C 011C FED8 move.w [A5 - 0x128], 0x11C
00000370 42A7 clr.l -[A7]
00000372 A8D8 syscall NewRgn
00000374 205F movea.l A0, [A7]+
00000376 2B48 FEFC move.l [A5 - 0x104], A0
0000037A 2F2D FEFC move.l -[A7], [A5 - 0x104]
0000037E A87A syscall GetClip
00000380 4E5E unlink A6
00000382 4E75 rts
00000384 5345 subq.w D5, 1
00000386 5455 addq.w [A5], 2
00000388 5057 addq.w [A7], 8
0000038A 494E chk.w D4, A6
fn0000038C:
0000038C 2F2D FECC move.l -[A7], [A5 - 0x134]
00000390 302D F454 move.w D0, [A5 - 0xBAC]
00000394 0640 FEE4 addi.w D0, 0xFEE4
00000398 3F00 move.w -[A7], D0
0000039A A965 syscall SetControlMaximum/SetMaxCtl
0000039C 2F2D FECC move.l -[A7], [A5 - 0x134]
000003A0 3F2D DB42 move.w -[A7], [A5 - 0x24BE]
000003A4 A963 syscall SetControlValue/SetCtlValue
000003A6 4A6D F456 tst.w [A5 - 0xBAA]
000003AA 6714 beq +0x16 /* 000003C0 */
000003AC 2F2D FED0 move.l -[A7], [A5 - 0x130]
000003B0 3F2D F452 move.w -[A7], [A5 - 0xBAE]
000003B4 A965 syscall SetControlMaximum/SetMaxCtl
000003B6 2F2D FED0 move.l -[A7], [A5 - 0x130]
000003BA 4267 clr.w -[A7]
000003BC A964 syscall SetControlMinimum/SetMinCtl
000003BE 601A bra +0x1C /* 000003DA */
label000003C0:
000003C0 302D F452 move.w D0, [A5 - 0xBAE]
000003C4 906D FEDA sub.w D0, [A5 - 0x126]
000003C8 2F2D FED0 move.l -[A7], [A5 - 0x130]
000003CC 3F00 move.w -[A7], D0
000003CE A965 syscall SetControlMaximum/SetMaxCtl
000003D0 2F2D FED0 move.l -[A7], [A5 - 0x130]
000003D4 3F3C FFE0 move.w -[A7], 0xFFE0
000003D8 A964 syscall SetControlMinimum/SetMinCtl
label000003DA:
000003DA 2F2D FED0 move.l -[A7], [A5 - 0x130]
000003DE 3F2D DB40 move.w -[A7], [A5 - 0x24C0]
000003E2 A963 syscall SetControlValue/SetCtlValue
000003E4 4267 clr.w -[A7]
000003E6 2F2D FED0 move.l -[A7], [A5 - 0x130]
000003EA A960 syscall GetControlValue/GetCtlValue
000003EC 301F move.w D0, [A7]+
000003EE 3B40 DB40 move.w [A5 - 0x24C0], D0
000003F2 4E75 rts
fn000003F4:
000003F4 4E56 FFC8 link A6, -0x0038
000003F8 42AE FFE0 clr.l [A6 - 0x20]
000003FC 7001 moveq.l D0, 0x01
000003FE 3D40 FFDA move.w [A6 - 0x26], D0
00000402 426E FFDE clr.w [A6 - 0x22]
00000406 6000 0258 bra +0x25A /* 00000660 */
label0000040A:
0000040A 4A6E FFDA tst.w [A6 - 0x26]
0000040E 6750 beq +0x52 /* 00000460 */
00000410 42A7 clr.l -[A7]
00000412 A924 syscall FrontWindow
00000414 205F movea.l A0, [A7]+
00000416 B1ED FEC8 cmpa.l A0, [A5 - 0x138]
0000041A 6644 bne +0x46 /* 00000460 */
0000041C 486E FFE4 pea.l [A6 - 0x1C]
00000420 A972 syscall GetMouse
00000422 486E FFC8 pea.l [A6 - 0x38]
00000426 A976 syscall GetKeys
00000428 4267 clr.w -[A7]
0000042A 2F2E FFE4 move.l -[A7], [A6 - 0x1C]
0000042E 486D FED4 pea.l [A5 - 0x12C]
00000432 A8AD syscall PtInRect
00000434 101F move.b D0, [A7]+
00000436 4A00 tst.b D0
00000438 6724 beq +0x26 /* 0000045E */
0000043A 102E FFCF move.b D0, [A6 - 0x31]
0000043E 4880 ext.w D0
00000440 0800 0002 btst.b D0, 0x2
00000444 670C beq +0xE /* 00000452 */
00000446 3F3C 0001 move.w -[A7], 0x1
0000044A 4EBA 1792 jsr [PC + 0x1792 /* 00001BDE */]
0000044E 548F addq.l A7, 2
00000450 600E bra +0x10 /* 00000460 */
label00000452:
00000452 3F2D FEA4 move.w -[A7], [A5 - 0x15C]
00000456 4EBA 1786 jsr [PC + 0x1786 /* 00001BDE */]
0000045A 548F addq.l A7, 2
0000045C 6002 bra +0x4 /* 00000460 */
label0000045E:
0000045E A850 syscall InitCursor
label00000460:
00000460 4A6D D356 tst.w [A5 - 0x2CAA]
00000464 6716 beq +0x18 /* 0000047C */
00000466 4267 clr.w -[A7]
00000468 3F3C FFFF move.w -[A7], 0xFFFF
0000046C 486E FFF0 pea.l [A6 - 0x10]
00000470 4878 000A push.l 0xA /* '\n' */
00000474 42A7 clr.l -[A7]
00000476 A860 syscall WaitNextEvent
00000478 101F move.b D0, [A7]+
0000047A 6010 bra +0x12 /* 0000048C */
label0000047C:
0000047C A9B4 syscall SystemTask
0000047E 4267 clr.w -[A7]
00000480 3F3C FFFF move.w -[A7], 0xFFFF
00000484 486E FFF0 pea.l [A6 - 0x10]
00000488 A970 syscall GetNextEvent
0000048A 101F move.b D0, [A7]+
label0000048C:
0000048C 302E FFF0 move.w D0, [A6 - 0x10]
00000490 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000494 0006 001A ori.b D6, 0x1A
00000498 0008 0056 ori.b A0, 0x56 /* 'V' */
0000049C 0001 012C ori.b D1, 0x2C /* ',' */
000004A0 0005 0128 ori.b D5, 0x28 /* '(' */
000004A4 0003 0142 ori.b D3, 0x42 /* 'B' */
000004A8 0006 016C ori.b D6, 0x6C /* 'l' */
000004AC 000F 01B2 ori.b A7, 0xB2
000004B0 202E FFF2 move.l D0, [A6 - 0xE]
000004B4 B0AD FEC8 cmp.l D0, [A5 - 0x138]
000004B8 6600 01A6 bne +0x1A8 /* 00000660 */
000004BC 082E 0000 FFFF btst.b [A6 - 0x1], 0x0
000004C2 6606 bne +0x8 /* 000004CA */
000004C4 303C 00FF move.w D0, 0xFF
000004C8 6002 bra +0x4 /* 000004CC */
label000004CA:
000004CA 7000 moveq.l D0, 0x00
label000004CC:
000004CC 1D40 FFD9 move.b [A6 - 0x27], D0
000004D0 2F2D FECC move.l -[A7], [A5 - 0x134]
000004D4 102E FFD9 move.b D0, [A6 - 0x27]
000004D8 4880 ext.w D0
000004DA 3F00 move.w -[A7], D0
000004DC A95D syscall HiliteControl
000004DE 2F2D FED0 move.l -[A7], [A5 - 0x130]
000004E2 102E FFD9 move.b D0, [A6 - 0x27]
000004E6 4880 ext.w D0
000004E8 3F00 move.w -[A7], D0
000004EA A95D syscall HiliteControl
000004EC 6000 0172 bra +0x174 /* 00000660 */
000004F0 4A6D FEAA tst.w [A5 - 0x156]
000004F4 6612 bne +0x14 /* 00000508 */
000004F6 42A7 clr.l -[A7]
000004F8 4EAD 00F2 jsr [A5 + 0xF2 /* export_26 */]
000004FC 201F move.l D0, [A7]+
000004FE D0AE FFE0 add.l D0, [A6 - 0x20]
00000502 B0AE FFF6 cmp.l D0, [A6 - 0xA]
00000506 6C04 bge +0x6 /* 0000050C */
label00000508:
00000508 7000 moveq.l D0, 0x00
0000050A 6002 bra +0x4 /* 0000050E */
label0000050C:
0000050C 7001 moveq.l D0, 0x01
label0000050E:
0000050E 3B40 FEAA move.w [A5 - 0x156], D0
00000512 2D6E FFF6 FFE0 move.l [A6 - 0x20], [A6 - 0xA]
00000518 4267 clr.w -[A7]
0000051A 2F2E FFFA move.l -[A7], [A6 - 0x6]
0000051E 486E FFEC pea.l [A6 - 0x14]
00000522 A92C syscall FindWindow
00000524 301F move.w D0, [A7]+
00000526 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000052A 0001 0003 ori.b D1, 0x3
0000052E 0132 0006 btst [A2 + D0.w + 0x6], D0
00000532 001E 002A ori.b [A6]+, 0x2A /* '*' */
00000536 42A7 clr.l -[A7]
00000538 2F2E FFFA move.l -[A7], [A6 - 0x6]
0000053C A93D syscall MenuSelect
0000053E 201F move.l D0, [A7]+
00000540 2F00 move.l -[A7], D0
00000542 4EBA 0134 jsr [PC + 0x134 /* 00000678 */]
00000546 588F addq.l A7, 4
00000548 3D40 FFDE move.w [A6 - 0x22], D0
0000054C 6000 0112 bra +0x114 /* 00000660 */
00000550 486E FFF0 pea.l [A6 - 0x10]
00000554 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000558 A9B3 syscall SystemClick
0000055A 6000 0104 bra +0x106 /* 00000660 */
0000055E 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00000562 A91F syscall SelectWindow
00000564 486E FFFA pea.l [A6 - 0x6]
00000568 A871 syscall GlobalToLocal
0000056A 4267 clr.w -[A7]
0000056C 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000570 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00000574 486E FFE8 pea.l [A6 - 0x18]
00000578 A96C syscall FindControl
0000057A 301F move.w D0, [A7]+
0000057C 3D40 FFDC move.w [A6 - 0x24], D0
00000580 4A40 tst.w D0
00000582 6738 beq +0x3A /* 000005BC */
00000584 0C6E 0081 FFDC cmpi.w [A6 - 0x24], 0x81
0000058A 6708 beq +0xA /* 00000594 */
0000058C 41ED 0322 lea.l A0, [A5 + 0x322 /* export_96 */]
00000590 2008 move.l D0, A0
00000592 6002 bra +0x4 /* 00000596 */
label00000594:
00000594 7000 moveq.l D0, 0x00
label00000596:
00000596 4267 clr.w -[A7]
00000598 2F2E FFE8 move.l -[A7], [A6 - 0x18]
0000059C 2F2E FFFA move.l -[A7], [A6 - 0x6]
000005A0 2F00 move.l -[A7], D0
000005A2 A968 syscall TrackControl
000005A4 301F move.w D0, [A7]+
000005A6 3D40 FFDC move.w [A6 - 0x24], D0
000005AA 0C6E 0081 FFDC cmpi.w [A6 - 0x24], 0x81
000005B0 6600 00AE bne +0xB0 /* 00000660 */
000005B4 4EBA 0C16 jsr [PC + 0xC16 /* 000011CC */]
000005B8 6000 00A6 bra +0xA8 /* 00000660 */
label000005BC:
000005BC 2F2E FFFA move.l -[A7], [A6 - 0x6]
000005C0 4EBA 0C5E jsr [PC + 0xC5E /* 00001220 */]
000005C4 588F addq.l A7, 4
000005C6 6000 0098 bra +0x9A /* 00000660 */
000005CA 42A7 clr.l -[A7]
000005CC 102E FFF5 move.b D0, [A6 - 0xB]
000005D0 4880 ext.w D0
000005D2 3F00 move.w -[A7], D0
000005D4 A93E syscall MenuKey
000005D6 201F move.l D0, [A7]+
000005D8 2F00 move.l -[A7], D0
000005DA 4EBA 009C jsr [PC + 0x9C /* 00000678 */]
000005DE 588F addq.l A7, 4
000005E0 3D40 FFDE move.w [A6 - 0x22], D0
000005E4 6000 007A bra +0x7C /* 00000660 */
000005E8 2F2D FEC8 move.l -[A7], [A5 - 0x138]
000005EC A873 syscall SetPort
000005EE 2F2D FEC8 move.l -[A7], [A5 - 0x138]
000005F2 A922 syscall BeginUpdate
000005F4 2F2D FEC8 move.l -[A7], [A5 - 0x138]
000005F8 A969 syscall DrawControls
000005FA 4EBA 1324 jsr [PC + 0x1324 /* 00001920 */]
000005FE 486D FED4 pea.l [A5 - 0x12C]
00000602 A87B syscall ClipRect
00000604 4EBA 1606 jsr [PC + 0x1606 /* 00001C0C */]
00000608 2F2D FEFC move.l -[A7], [A5 - 0x104]
0000060C A879 syscall SetClip
0000060E 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00000612 A923 syscall EndUpdate
00000614 604A bra +0x4C /* 00000660 */
00000616 202E FFF2 move.l D0, [A6 - 0xE]
0000061A 7218 moveq.l D1, 0x18
0000061C E2A0 asr D0, D1
0000061E 0C80 0000 0001 cmpi.l D0, 0x1
00000624 660A bne +0xC /* 00000630 */
00000626 7001 moveq.l D0, 0x01
00000628 C0AE FFF2 and.l D0, [A6 - 0xE]
0000062C 3D40 FFDA move.w [A6 - 0x26], D0
label00000630:
00000630 4A6E FFDA tst.w [A6 - 0x26]
00000634 6606 bne +0x8 /* 0000063C */
00000636 303C 00FF move.w D0, 0xFF
0000063A 6002 bra +0x4 /* 0000063E */
label0000063C:
0000063C 7000 moveq.l D0, 0x00
label0000063E:
0000063E 1D40 FFD9 move.b [A6 - 0x27], D0
00000642 2F2D FECC move.l -[A7], [A5 - 0x134]
00000646 102E FFD9 move.b D0, [A6 - 0x27]
0000064A 4880 ext.w D0
0000064C 3F00 move.w -[A7], D0
0000064E A95D syscall HiliteControl
00000650 2F2D FED0 move.l -[A7], [A5 - 0x130]
00000654 102E FFD9 move.b D0, [A6 - 0x27]
00000658 4880 ext.w D0
0000065A 3F00 move.w -[A7], D0
0000065C A95D syscall HiliteControl
0000065E A850 syscall InitCursor
label00000660:
00000660 4A6E FFDE tst.w [A6 - 0x22]
00000664 6700 FDA4 beq -0x25A /* 0000040A */
00000668 302E FFDE move.w D0, [A6 - 0x22]
0000066C 4E5E unlink A6
0000066E 4E75 rts
00000670 4544 chk.w D2, D4
00000672 4954 chk.w D4, [A4]
00000674 504C addq.w A4, 8
00000676 414E chk.w D0, A6
fn00000678:
00000678 4E56 FFB2 link A6, -0x004E
0000067C 48E7 0308 movem.l -[A7], D6,D7,A4
00000680 426E FFFE clr.w [A6 - 0x2]
00000684 A850 syscall InitCursor
00000686 302E 0008 move.w D0, [A6 + 0x8]
0000068A 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000068E 0001 0006 ori.b D1, 0x6
00000692 0400 000C subi.b D0, 0xC
00000696 006C 00F2 03F8 ori.w [A4 + 0x3F8], 0xF2
0000069C 0164 bchg -[A4], D0
0000069E 0256 302E andi.w [A6], 0x302E /* '0.' */
000006A2 000A 4EAD ori.b A2, 0xAD
000006A6 003A 0001 0002 ori.b [PC + 0x2 /* 000006AA, value 0x0, cstring "" */], 0x1
000006AC 0026 0004 ori.b -[A6], 0x4
000006B0 001A 3F3C ori.b [A2]+, 0x3C /* '<' */
000006B4 0001 4EAD ori.b D1, 0xAD
000006B8 01EA .incomplete
000006BA 548F addq.l A7, 2
000006BC 3F3C 000A move.w -[A7], 0xA /* '\n' */
000006C0 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
000006C4 548F addq.l A7, 2
000006C6 6000 03CA bra +0x3CC /* 00000A92 */
000006CA 4EAD 01A2 jsr [A5 + 0x1A2 /* export_48 */]
000006CE 6000 03C2 bra +0x3C4 /* 00000A92 */
000006D2 42A7 clr.l -[A7]
000006D4 3F3C 0001 move.w -[A7], 0x1
000006D8 A949 syscall GetMenuHandle
000006DA 205F movea.l A0, [A7]+
000006DC 4850 pea.l [A0]
000006DE 3F2E 000A move.w -[A7], [A6 + 0xA]
000006E2 486E FFBC pea.l [A6 - 0x44]
000006E6 A946 syscall GetMenuItemText/GetItem
000006E8 486E FFF8 pea.l [A6 - 0x8]
000006EC A874 syscall GetPort
000006EE 4267 clr.w -[A7]
000006F0 486E FFBC pea.l [A6 - 0x44]
000006F4 A9B6 syscall OpenDeskAcc
000006F6 301F move.w D0, [A7]+
000006F8 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000006FC A873 syscall SetPort
000006FE 6000 0392 bra +0x394 /* 00000A92 */
00000702 302E 000A move.w D0, [A6 + 0xA]
00000706 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
0000070A 0004 0012 ori.b D4, 0x12
0000070E 0001 003C ori.b D1, 0x3C /* '<' */
00000712 0002 0062 ori.b D2, 0x62 /* 'b' */
00000716 0004 0068 ori.b D4, 0x68 /* 'h' */
0000071A 0008 0376 ori.b A0, 0x76 /* 'v' */
0000071E 3F3C 0C08 move.w -[A7], 0xC08
00000722 4EBA 0432 jsr [PC + 0x432 /* 00000B56 */]
00000726 548F addq.l A7, 2
00000728 4A40 tst.w D0
0000072A 6700 0366 beq +0x368 /* 00000A92 */
0000072E 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
00000732 4EBA 05F8 jsr [PC + 0x5F8 /* 00000D2C */]
00000736 548F addq.l A7, 2
00000738 4A40 tst.w D0
0000073A 6700 0356 beq +0x358 /* 00000A92 */
0000073E 3F3C 0001 move.w -[A7], 0x1
00000742 4EAD 020A jsr [A5 + 0x20A /* export_61 */]
00000746 548F addq.l A7, 2
00000748 6000 0348 bra +0x34A /* 00000A92 */
0000074C 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
00000750 4EBA 05DA jsr [PC + 0x5DA /* 00000D2C */]
00000754 548F addq.l A7, 2
00000756 4A40 tst.w D0
00000758 6700 0338 beq +0x33A /* 00000A92 */
0000075C 4267 clr.w -[A7]
0000075E 4EAD 020A jsr [A5 + 0x20A /* export_61 */]
00000762 548F addq.l A7, 2
00000764 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
00000768 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
0000076C 548F addq.l A7, 2
0000076E 4EBA 04B4 jsr [PC + 0x4B4 /* 00000C24 */]
00000772 6000 031E bra +0x320 /* 00000A92 */
00000776 7002 moveq.l D0, 0x02
00000778 3D40 FFFE move.w [A6 - 0x2], D0
0000077C 6000 0314 bra +0x316 /* 00000A92 */
00000780 7001 moveq.l D0, 0x01
00000782 3D40 FFFE move.w [A6 - 0x2], D0
00000786 6000 030A bra +0x30C /* 00000A92 */
0000078A 302E 000A move.w D0, [A6 + 0xA]
0000078E 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000792 0003 0007 ori.b D3, 0x7
00000796 02FC .incomplete
00000798 000A 0014 ori.b A2, 0x14
0000079C 001A 02F4 ori.b [A2]+, 0xF4
000007A0 0046 4EBA ori.w D6, 0x4EBA
000007A4 0814 4EBA btst.b [A4], 0xBA
000007A8 0844 6000 bchg.b D4, 0x0
000007AC 02E6 .incomplete
000007AE 4EBA 0808 jsr [PC + 0x808 /* 00000FB8 */]
000007B2 6000 02DE bra +0x2E0 /* 00000A92 */
000007B6 0C6D 0096 D28C cmpi.w [A5 - 0x2D74], 0x96
000007BC 6D10 blt +0x12 /* 000007CE */
000007BE 4879 0000 011E push.l 0x11E
000007C4 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
000007C8 588F addq.l A7, 4
000007CA 6000 02C6 bra +0x2C8 /* 00000A92 */
label000007CE:
000007CE 3F3C 0604 move.w -[A7], 0x604
000007D2 4EBA 0382 jsr [PC + 0x382 /* 00000B56 */]
000007D6 548F addq.l A7, 2
000007D8 4A40 tst.w D0
000007DA 6700 02B6 beq +0x2B8 /* 00000A92 */
000007DE 4EBA 08D4 jsr [PC + 0x8D4 /* 000010B4 */]
000007E2 6000 02AE bra +0x2B0 /* 00000A92 */
000007E6 3F3C 001A move.w -[A7], 0x1A
000007EA 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
000007EE 548F addq.l A7, 2
000007F0 0C40 0002 cmpi.w D0, 0x2
000007F4 6600 029C bne +0x29E /* 00000A92 */
000007F8 4EBA 0942 jsr [PC + 0x942 /* 0000113C */]
000007FC 6000 0294 bra +0x296 /* 00000A92 */
00000800 302E 000A move.w D0, [A6 + 0xA]
00000804 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000808 0001 000A ori.b D1, 0xA /* '\n' */
0000080C 0286 0014 001A andi.l D6, 0x14001A
00000812 0280 0036 0046 andi.l D0, 0x360046 /* '6\0F' */
00000818 0056 0278 ori.w [A6], 0x278
0000081C 0062 00A0 ori.w -[A2], 0xA0
00000820 00C2 .incomplete
00000822 4EBA 0CD6 jsr [PC + 0xCD6 /* 000014FA */]
00000826 6000 026A bra +0x26C /* 00000A92 */
0000082A 302D DB40 move.w D0, [A5 - 0x24C0]
0000082E 0640 0104 addi.w D0, 0x104
00000832 48C0 ext.l D0
00000834 81ED F452 divs.w D0, [A5 - 0xBAE]
00000838 4840 swap.w D0
0000083A 3B40 DB5A move.w [A5 - 0x24A6], D0
0000083E 4267 clr.w -[A7]
00000840 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
00000844 548F addq.l A7, 2
00000846 6000 024A bra +0x24C /* 00000A92 */
0000084A 302D D1F0 move.w D0, [A5 - 0x2E10]
0000084E 5240 addq.w D0, 1
00000850 3F00 move.w -[A7], D0
00000852 4EBA 0382 jsr [PC + 0x382 /* 00000BD6 */]
00000856 548F addq.l A7, 2
00000858 6000 0238 bra +0x23A /* 00000A92 */
0000085C 302D D1F0 move.w D0, [A5 - 0x2E10]
00000860 5340 subq.w D0, 1
00000862 3F00 move.w -[A7], D0
00000864 4EBA 0370 jsr [PC + 0x370 /* 00000BD6 */]
00000868 548F addq.l A7, 2
0000086A 6000 0226 bra +0x228 /* 00000A92 */
0000086E 4EBA 023A jsr [PC + 0x23A /* 00000AAA */]
00000872 3F00 move.w -[A7], D0
00000874 4EBA 0360 jsr [PC + 0x360 /* 00000BD6 */]
00000878 548F addq.l A7, 2
0000087A 6000 0216 bra +0x218 /* 00000A92 */
0000087E 0C6D 0096 D28C cmpi.w [A5 - 0x2D74], 0x96
00000884 6D10 blt +0x12 /* 00000896 */
00000886 4879 0000 014C push.l 0x14C
0000088C 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
00000890 588F addq.l A7, 4
00000892 6000 01FE bra +0x200 /* 00000A92 */
label00000896:
00000896 3F3C 0604 move.w -[A7], 0x604
0000089A 4EBA 02BA jsr [PC + 0x2BA /* 00000B56 */]
0000089E 548F addq.l A7, 2
000008A0 4A40 tst.w D0
000008A2 6700 01EE beq +0x1F0 /* 00000A92 */
000008A6 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
000008AA 4EBA 0480 jsr [PC + 0x480 /* 00000D2C */]
000008AE 548F addq.l A7, 2
000008B0 4A40 tst.w D0
000008B2 6700 01DE beq +0x1E0 /* 00000A92 */
000008B6 4EBA 08BE jsr [PC + 0x8BE /* 00001176 */]
000008BA 6000 01D6 bra +0x1D8 /* 00000A92 */
000008BE 3F3C 0019 move.w -[A7], 0x19
000008C2 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
000008C6 548F addq.l A7, 2
000008C8 0C40 0002 cmpi.w D0, 0x2
000008CC 6600 01C4 bne +0x1C6 /* 00000A92 */
000008D0 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
000008D4 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
000008D8 548F addq.l A7, 2
000008DA 4EBA 0348 jsr [PC + 0x348 /* 00000C24 */]
000008DE 6000 01B2 bra +0x1B4 /* 00000A92 */
000008E2 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
000008E6 4EBA 048A jsr [PC + 0x48A /* 00000D72 */]
000008EA 548F addq.l A7, 2
000008EC 426D FE9E clr.w [A5 - 0x162]
000008F0 6000 01A0 bra +0x1A2 /* 00000A92 */
000008F4 486D FED4 pea.l [A5 - 0x12C]
000008F8 A928 syscall InvalRect
000008FA 302E 000A move.w D0, [A6 + 0xA]
000008FE 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000902 0001 0009 ori.b D1, 0x9 /* '\t' */
00000906 018C bclr A4, D0
00000908 0012 0030 ori.b [A2], 0x30 /* '0' */
0000090C 004E 006C ori.w A6, 0x6C /* 'l' */
00000910 008A 0180 00A6 ori.l A2, 0x18000A6
00000916 00A4 0152 4A6D ori.l -[A4], 0x1524A6D
0000091C FE96 57C0 .extension 0xE96 <<F/2-3/7>> // unimplemented
00000920 4400 neg.b D0
00000922 4880 ext.w D0
00000924 3B40 FE96 move.w [A5 - 0x16A], D0
00000928 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
0000092C 3F2E 000A move.w -[A7], [A6 + 0xA]
00000930 1F2D FE97 move.b -[A7], [A5 - 0x169]
00000934 A945 syscall CheckItem
00000936 6000 015A bra +0x15C /* 00000A92 */
0000093A 4A6D FE94 tst.w [A5 - 0x16C]
0000093E 57C0 seq D0
00000940 4400 neg.b D0
00000942 4880 ext.w D0
00000944 3B40 FE94 move.w [A5 - 0x16C], D0
00000948 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
0000094C 3F2E 000A move.w -[A7], [A6 + 0xA]
00000950 1F2D FE95 move.b -[A7], [A5 - 0x16B]
00000954 A945 syscall CheckItem
00000956 6000 013A bra +0x13C /* 00000A92 */
0000095A 4A6D FE98 tst.w [A5 - 0x168]
0000095E 57C0 seq D0
00000960 4400 neg.b D0
00000962 4880 ext.w D0
00000964 3B40 FE98 move.w [A5 - 0x168], D0
00000968 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
0000096C 3F2E 000A move.w -[A7], [A6 + 0xA]
00000970 1F2D FE99 move.b -[A7], [A5 - 0x167]
00000974 A945 syscall CheckItem
00000976 6000 011A bra +0x11C /* 00000A92 */
0000097A 4A6D FE9A tst.w [A5 - 0x166]
0000097E 57C0 seq D0
00000980 4400 neg.b D0
00000982 4880 ext.w D0
00000984 3B40 FE9A move.w [A5 - 0x166], D0
00000988 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
0000098C 3F2E 000A move.w -[A7], [A6 + 0xA]
00000990 1F2D FE9B move.b -[A7], [A5 - 0x165]
00000994 A945 syscall CheckItem
00000996 6000 00FA bra +0xFC /* 00000A92 */
0000099A 4A6D FE9C tst.w [A5 - 0x164]
0000099E 57C0 seq D0
000009A0 4400 neg.b D0
000009A2 4880 ext.w D0
000009A4 3B40 FE9C move.w [A5 - 0x164], D0
000009A8 2F2D FEC4 move.l -[A7], [A5 - 0x13C]
000009AC 3F2E 000A move.w -[A7], [A6 + 0xA]
000009B0 1F2D FE9D move.b -[A7], [A5 - 0x163]
000009B4 A945 syscall CheckItem
000009B6 6000 00DA bra +0xDC /* 00000A92 */
000009BA 0C6D 0002 FEA0 cmpi.w [A5 - 0x160], 0x2
000009C0 6600 00D0 bne +0xD2 /* 00000A92 */
000009C4 302D FEA2 move.w D0, [A5 - 0x15E]
000009C8 C1FC 0014 muls.w D0, 0x14
000009CC 41ED F0FE lea.l A0, [A5 - 0xF02]
000009D0 D1C0 add.l A0, D0
000009D2 2848 movea.l A4, A0
000009D4 0C6C 0002 0006 cmpi.w [A4 + 0x6], 0x2
000009DA 6C00 00B6 bge +0xB8 /* 00000A92 */
000009DE 0C6E 0007 000A cmpi.w [A6 + 0xA], 0x7
000009E4 6704 beq +0x6 /* 000009EA */
000009E6 700F moveq.l D0, 0x0F
000009E8 6002 bra +0x4 /* 000009EC */
label000009EA:
000009EA 7001 moveq.l D0, 0x01
label000009EC:
000009EC 3D40 FFFC move.w [A6 - 0x4], D0
000009F0 302C 0004 move.w D0, [A4 + 0x4]
000009F4 D06E FFFC add.w D0, [A6 - 0x4]
000009F8 0240 000F andi.w D0, 0xF
000009FC 3940 0004 move.w [A4 + 0x4], D0
00000A00 302E FFFC move.w D0, [A6 - 0x4]
00000A04 EB40 asl D0.w, 5
00000A06 3D40 FFFC move.w [A6 - 0x4], D0
00000A0A 7E00 moveq.l D7, 0x00
00000A0C 604E bra +0x50 /* 00000A5C */
label00000A0E:
00000A0E 3007 move.w D0, D7
00000A10 48C0 ext.l D0
00000A12 E580 asl D0, 2
00000A14 D08C add.l D0, A4
00000A16 2040 movea.l A0, D0
00000A18 302E FFFC move.w D0, [A6 - 0x4]
00000A1C D168 000C add.w [A0 + 0xC], D0
00000A20 3007 move.w D0, D7
00000A22 48C0 ext.l D0
00000A24 E580 asl D0, 2
00000A26 D08C add.l D0, A4
00000A28 2040 movea.l A0, D0
00000A2A 302E FFFC move.w D0, [A6 - 0x4]
00000A2E D168 000A add.w [A0 + 0xA], D0
00000A32 0C68 0200 000A cmpi.w [A0 + 0xA], 0x200
00000A38 6D20 blt +0x22 /* 00000A5A */
00000A3A 3007 move.w D0, D7
00000A3C 48C0 ext.l D0
00000A3E E580 asl D0, 2
00000A40 D08C add.l D0, A4
00000A42 2040 movea.l A0, D0
00000A44 0668 FE00 000A addi.w [A0 + 0xA], 0xFE00
00000A4A 3007 move.w D0, D7
00000A4C 48C0 ext.l D0
00000A4E E580 asl D0, 2
00000A50 D08C add.l D0, A4
00000A52 2040 movea.l A0, D0
00000A54 0668 FE00 000C addi.w [A0 + 0xC], 0xFE00
label00000A5A:
00000A5A 5247 addq.w D7, 1
label00000A5C:
00000A5C 0C47 0002 cmpi.w D7, 0x2
00000A60 6DAC blt -0x52 /* 00000A0E */
00000A62 7001 moveq.l D0, 0x01
00000A64 3B40 FE9E move.w [A5 - 0x162], D0
00000A68 6028 bra +0x2A /* 00000A92 */
00000A6A 0C6D 0002 FEA0 cmpi.w [A5 - 0x160], 0x2
00000A70 6620 bne +0x22 /* 00000A92 */
00000A72 302D FEA2 move.w D0, [A5 - 0x15E]
00000A76 C1FC 0014 muls.w D0, 0x14
00000A7A 41ED F0FE lea.l A0, [A5 - 0xF02]
00000A7E D1C0 add.l A0, D0
00000A80 2848 movea.l A4, A0
00000A82 0C6C 0004 0006 cmpi.w [A4 + 0x6], 0x4
00000A88 6608 bne +0xA /* 00000A92 */
00000A8A 2F0C move.l -[A7], A4
00000A8C 4EBA 1D70 jsr [PC + 0x1D70 /* 000027FE */]
00000A90 588F addq.l A7, 4
label00000A92:
00000A92 4267 clr.w -[A7]
00000A94 A938 syscall HiliteMenu
00000A96 302E FFFE move.w D0, [A6 - 0x2]
00000A9A 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000A9E 4E5E unlink A6
00000AA0 4E75 rts
00000AA2 444F neg.w A7
00000AA4 4D45 chk.w D6, D5
00000AA6 4E55 2020 link A5, -0xFFFFDFE0
fn00000AAA:
00000AAA 4E56 FF4C link A6, -0x00B4
00000AAE 42A7 clr.l -[A7]
00000AB0 3F3C 0006 move.w -[A7], 0x6
00000AB4 486E FF56 pea.l [A6 - 0xAA]
00000AB8 4878 FFFF push.l 0xFFFF
00000ABC A97C syscall GetNewDialog
00000ABE 205F movea.l A0, [A7]+
00000AC0 2D48 FF52 move.l [A6 - 0xAE], A0
00000AC4 2F2E FF52 move.l -[A7], [A6 - 0xAE]
00000AC8 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
00000ACC 588F addq.l A7, 4
00000ACE 2F2E FF52 move.l -[A7], [A6 - 0xAE]
00000AD2 3F3C 0003 move.w -[A7], 0x3
00000AD6 4267 clr.w -[A7]
00000AD8 3F3C 0014 move.w -[A7], 0x14
00000ADC A97E syscall SelectDialogItemText/SelIText
label00000ADE:
00000ADE 486D 01F2 pea.l [A5 + 0x1F2 /* export_58 */]
00000AE2 486E FF50 pea.l [A6 - 0xB0]
00000AE6 A991 syscall ModalDialog
00000AE8 0C6E 0001 FF50 cmpi.w [A6 - 0xB0], 0x1
00000AEE 6708 beq +0xA /* 00000AF8 */
00000AF0 0C6E 0002 FF50 cmpi.w [A6 - 0xB0], 0x2
00000AF6 66E6 bne -0x18 /* 00000ADE */
label00000AF8:
00000AF8 7001 moveq.l D0, 0x01
00000AFA 3D40 FF4C move.w [A6 - 0xB4], D0
00000AFE 0C6E 0002 FF50 cmpi.w [A6 - 0xB0], 0x2
00000B04 6608 bne +0xA /* 00000B0E */
00000B06 306D D1F0 movea.w A0, [A5 - 0x2E10]
00000B0A 2008 move.l D0, A0
00000B0C 601C bra +0x1E /* 00000B2A */
label00000B0E:
00000B0E 486E FF4C pea.l [A6 - 0xB4]
00000B12 3F2D D28C move.w -[A7], [A5 - 0x2D74]
00000B16 3F3C 0001 move.w -[A7], 0x1
00000B1A 3F3C 0003 move.w -[A7], 0x3
00000B1E 2F2E FF52 move.l -[A7], [A6 - 0xAE]
00000B22 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00000B26 4FEF 000E lea.l A7, [A7 + 0xE]
label00000B2A:
00000B2A 3D40 FF4E move.w [A6 - 0xB2], D0
00000B2E 4A6E FF4C tst.w [A6 - 0xB4]
00000B32 6606 bne +0x8 /* 00000B3A */
00000B34 3F3C 000A move.w -[A7], 0xA /* '\n' */
00000B38 A9C8 syscall SysBeep
label00000B3A:
00000B3A 4A6E FF4C tst.w [A6 - 0xB4]
00000B3E 679E beq -0x60 /* 00000ADE */
00000B40 2F2E FF52 move.l -[A7], [A6 - 0xAE]
00000B44 A982 syscall CloseDialog
00000B46 302E FF4E move.w D0, [A6 - 0xB2]
00000B4A 4E5E unlink A6
00000B4C 4E75 rts
00000B4E 474F chk.w D3, A7
00000B50 544F addq.w A7, 2
00000B52 504C addq.w A4, 8
00000B54 414E chk.w D0, A6
fn00000B56:
00000B56 4E56 FFFA link A6, -0x0006
00000B5A 306D D28C movea.w A0, [A5 - 0x2D74]
00000B5E 2F08 move.l -[A7], A0
00000B60 4878 0604 push.l 0x604
00000B64 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000B68 0680 0000 00A0 addi.l D0, 0xA0
00000B6E 2D40 FFFA move.l [A6 - 0x6], D0
00000B72 306E 0008 movea.w A0, [A6 + 0x8]
00000B76 D1EE FFFA add.l A0, [A6 - 0x6]
00000B7A 4267 clr.w -[A7]
00000B7C 3F2D D290 move.w -[A7], [A5 - 0x2D70]
00000B80 4850 pea.l [A0]
00000B82 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000B86 301F move.w D0, [A7]+
00000B88 3D40 FFFE move.w [A6 - 0x2], D0
00000B8C 4A6E FFFE tst.w [A6 - 0x2]
00000B90 6736 beq +0x38 /* 00000BC8 */
00000B92 0C6E FFDE FFFE cmpi.w [A6 - 0x2], 0xFFDE
00000B98 660A bne +0xC /* 00000BA4 */
00000B9A 41F9 0000 017A lea.l A0, [0x0000017A]
00000BA0 2008 move.l D0, A0
00000BA2 6008 bra +0xA /* 00000BAC */
label00000BA4:
00000BA4 41F9 0000 019E lea.l A0, [0x0000019E]
00000BAA 2008 move.l D0, A0
label00000BAC:
00000BAC 2F00 move.l -[A7], D0
00000BAE 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
00000BB2 588F addq.l A7, 4
00000BB4 4267 clr.w -[A7]
00000BB6 3F2D D290 move.w -[A7], [A5 - 0x2D70]
00000BBA 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000BBE 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000BC2 301F move.w D0, [A7]+
00000BC4 7000 moveq.l D0, 0x00
00000BC6 6002 bra +0x4 /* 00000BCA */
label00000BC8:
00000BC8 7001 moveq.l D0, 0x01
label00000BCA:
00000BCA 4E5E unlink A6
00000BCC 4E75 rts
00000BCE 4449 neg.w A1
00000BD0 534B subq.w A3, 1
00000BD2 5350 subq.w [A0], 1
00000BD4 4143 chk.w D0, D3
fn00000BD6:
00000BD6 4E56 0000 link A6, 0
00000BDA 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
00000BE0 6D36 blt +0x38 /* 00000C18 */
00000BE2 302E 0008 move.w D0, [A6 + 0x8]
00000BE6 B06D D28C cmp.w D0, [A5 - 0x2D74]
00000BEA 6E2C bgt +0x2E /* 00000C18 */
00000BEC 302E 0008 move.w D0, [A6 + 0x8]
00000BF0 B06D D1F0 cmp.w D0, [A5 - 0x2E10]
00000BF4 6722 beq +0x24 /* 00000C18 */
00000BF6 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
00000BFA 4EBA 0130 jsr [PC + 0x130 /* 00000D2C */]
00000BFE 548F addq.l A7, 2
00000C00 4A40 tst.w D0
00000C02 6714 beq +0x16 /* 00000C18 */
00000C04 3B6E 0008 D1F0 move.w [A5 - 0x2E10], [A6 + 0x8]
00000C0A 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
00000C0E 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
00000C12 548F addq.l A7, 2
00000C14 4EBA 000E jsr [PC + 0xE /* 00000C24 */]
label00000C18:
00000C18 4E5E unlink A6
00000C1A 4E75 rts
00000C1C 4E45 trap 5
00000C1E 5854 addq.w [A4], 4
00000C20 504C addq.w A4, 8
00000C22 414E chk.w D0, A6
fn00000C24:
00000C24 302D F45A move.w D0, [A5 - 0xBA6]
00000C28 0640 FF00 addi.w D0, 0xFF00
00000C2C 3B40 DB40 move.w [A5 - 0x24C0], D0
00000C30 302D F45C move.w D0, [A5 - 0xBA4]
00000C34 0640 FF61 addi.w D0, 0xFF61
00000C38 3B40 DB42 move.w [A5 - 0x24BE], D0
00000C3C 4A6D DB40 tst.w [A5 - 0x24C0]
00000C40 6C06 bge +0x8 /* 00000C48 */
00000C42 426D DB40 clr.w [A5 - 0x24C0]
00000C46 6018 bra +0x1A /* 00000C60 */
label00000C48:
00000C48 302D F452 move.w D0, [A5 - 0xBAE]
00000C4C 906D FEDA sub.w D0, [A5 - 0x126]
00000C50 3F00 move.w -[A7], D0
00000C52 3F2D DB40 move.w -[A7], [A5 - 0x24C0]
00000C56 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
00000C5A 588F addq.l A7, 4
00000C5C 3B40 DB40 move.w [A5 - 0x24C0], D0
label00000C60:
00000C60 4A6D DB42 tst.w [A5 - 0x24BE]
00000C64 6C06 bge +0x8 /* 00000C6C */
00000C66 426D DB42 clr.w [A5 - 0x24BE]
00000C6A 6018 bra +0x1A /* 00000C84 */
label00000C6C:
00000C6C 302D F454 move.w D0, [A5 - 0xBAC]
00000C70 906D FED8 sub.w D0, [A5 - 0x128]
00000C74 3F00 move.w -[A7], D0
00000C76 3F2D DB42 move.w -[A7], [A5 - 0x24BE]
00000C7A 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
00000C7E 588F addq.l A7, 4
00000C80 3B40 DB42 move.w [A5 - 0x24BE], D0
label00000C84:
00000C84 4EBA 056E jsr [PC + 0x56E /* 000011F4 */]
00000C88 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00000C8C A873 syscall SetPort
00000C8E 486D FED4 pea.l [A5 - 0x12C]
00000C92 A928 syscall InvalRect
00000C94 4EBA F6F6 jsr [PC - 0x90A /* 0000038C */]
00000C98 486D D12C pea.l [A5 - 0x2ED4]
00000C9C 486D FF00 pea.l [A5 - 0x100]
00000CA0 4EAD 0162 jsr [A5 + 0x162 /* export_40 */]
00000CA4 508F addq.l A7, 8
00000CA6 486D FF00 pea.l [A5 - 0x100]
00000CAA 4EAD 00FA jsr [A5 + 0xFA /* export_27 */]
00000CAE 588F addq.l A7, 4
00000CB0 4879 0000 01BC push.l 0x1BC
00000CB6 486D FF00 pea.l [A5 - 0x100]
00000CBA 4EAD 010A jsr [A5 + 0x10A /* export_29 */]
00000CBE 508F addq.l A7, 8
00000CC0 306D D1F0 movea.w A0, [A5 - 0x2E10]
00000CC4 2F08 move.l -[A7], A0
00000CC6 486D FF64 pea.l [A5 - 0x9C]
00000CCA 4EAD 00EA jsr [A5 + 0xEA /* export_25 */]
00000CCE 42A7 clr.l -[A7]
00000CD0 486D FF64 pea.l [A5 - 0x9C]
00000CD4 42A7 clr.l -[A7]
00000CD6 42A7 clr.l -[A7]
00000CD8 A98B syscall ParamText
00000CDA 486D FF64 pea.l [A5 - 0x9C]
00000CDE 4EAD 00FA jsr [A5 + 0xFA /* export_27 */]
00000CE2 588F addq.l A7, 4
00000CE4 486D FF64 pea.l [A5 - 0x9C]
00000CE8 486D FF00 pea.l [A5 - 0x100]
00000CEC 4EAD 010A jsr [A5 + 0x10A /* export_29 */]
00000CF0 508F addq.l A7, 8
00000CF2 486D FF00 pea.l [A5 - 0x100]
00000CF6 4EAD 0102 jsr [A5 + 0x102 /* export_28 */]
00000CFA 588F addq.l A7, 4
00000CFC 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00000D00 486D FF00 pea.l [A5 - 0x100]
00000D04 A91A syscall SetWTitle
00000D06 426D FE9E clr.w [A5 - 0x162]
00000D0A 426D FEA0 clr.w [A5 - 0x160]
00000D0E 302D DB40 move.w D0, [A5 - 0x24C0]
00000D12 0640 0104 addi.w D0, 0x104
00000D16 48C0 ext.l D0
00000D18 81ED F452 divs.w D0, [A5 - 0xBAE]
00000D1C 4840 swap.w D0
00000D1E 3B40 DB5A move.w [A5 - 0x24A6], D0
00000D22 4267 clr.w -[A7]
00000D24 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
00000D28 548F addq.l A7, 2
00000D2A 4E75 rts
fn00000D2C:
00000D2C 4E56 FFF6 link A6, -0x000A
00000D30 4A6D FE9E tst.w [A5 - 0x162]
00000D34 6606 bne +0x8 /* 00000D3C */
00000D36 7001 moveq.l D0, 0x01
00000D38 6000 002C bra +0x2E /* 00000D66 */
label00000D3C:
00000D3C 3F3C 0018 move.w -[A7], 0x18
00000D40 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
00000D44 548F addq.l A7, 2
00000D46 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000D4A 0001 0003 ori.b D1, 0x3
00000D4E 0018 0006 ori.b [A0]+, 0x6
00000D52 000E 0010 ori.b A6, 0x10
00000D56 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000D5A 4EBA 0016 jsr [PC + 0x16 /* 00000D72 */]
00000D5E 548F addq.l A7, 2
00000D60 7001 moveq.l D0, 0x01
00000D62 6002 bra +0x4 /* 00000D66 */
00000D64 7000 moveq.l D0, 0x00
label00000D66:
00000D66 4E5E unlink A6
00000D68 4E75 rts
00000D6A 4348 chk.w D1, A0
00000D6C 4543 chk.w D2, D3
00000D6E 4B41 chk.w D5, D1
00000D70 4E44 trap 4
fn00000D72:
00000D72 4E56 FFF4 link A6, -0x000C
00000D76 4A6D FE9E tst.w [A5 - 0x162]
00000D7A 6700 00A6 beq +0xA8 /* 00000E22 */
00000D7E 42A7 clr.l -[A7]
00000D80 4878 0604 push.l 0x604
00000D84 4EAD 0082 jsr [A5 + 0x82 /* export_12 */]
00000D88 205F movea.l A0, [A7]+
00000D8A 2D48 FFFC move.l [A6 - 0x4], A0
00000D8E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000D92 4EAD 0092 jsr [A5 + 0x92 /* export_14 */]
00000D96 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000D9A 4EBA 0092 jsr [PC + 0x92 /* 00000E2E */]
00000D9E 588F addq.l A7, 4
00000DA0 41ED D1F6 lea.l A0, [A5 - 0x2E0A]
00000DA4 D0EE 0008 add.w A0, [A6 + 0x8]
00000DA8 1028 FFFF move.b D0, [A0 - 0x1]
00000DAC 4880 ext.w D0
00000DAE 48C0 ext.l D0
00000DB0 2F00 move.l -[A7], D0
00000DB2 4878 0604 push.l 0x604
00000DB6 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000DBA 0680 0000 00A0 addi.l D0, 0xA0
00000DC0 2D40 FFF8 move.l [A6 - 0x8], D0
00000DC4 4267 clr.w -[A7]
00000DC6 3F2D D290 move.w -[A7], [A5 - 0x2D70]
00000DCA 486E FFF4 pea.l [A6 - 0xC]
00000DCE 4EAD 00BA jsr [A5 + 0xBA /* export_19 */]
00000DD2 301F move.w D0, [A7]+
00000DD4 202E FFF4 move.l D0, [A6 - 0xC]
00000DD8 B0AE FFF8 cmp.l D0, [A6 - 0x8]
00000DDC 6C10 bge +0x12 /* 00000DEE */
00000DDE 4267 clr.w -[A7]
00000DE0 3F2D D290 move.w -[A7], [A5 - 0x2D70]
00000DE4 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000DE8 4EAD 00C2 jsr [A5 + 0xC2 /* export_20 */]
00000DEC 301F move.w D0, [A7]+
label00000DEE:
00000DEE 4267 clr.w -[A7]
00000DF0 3F2D D290 move.w -[A7], [A5 - 0x2D70]
00000DF4 3F3C 0001 move.w -[A7], 0x1
00000DF8 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000DFC 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
00000E00 301F move.w D0, [A7]+
00000E02 206E FFFC movea.l A0, [A6 - 0x4]
00000E06 2F10 move.l -[A7], [A0]
00000E08 3F3C 0604 move.w -[A7], 0x604
00000E0C 3F2D D290 move.w -[A7], [A5 - 0x2D70]
00000E10 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
00000E14 508F addq.l A7, 8
00000E16 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000E1A 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000E1E 4EBA F26E jsr [PC - 0xD92 /* 0000008E */]
label00000E22:
00000E22 4E5E unlink A6
00000E24 4E75 rts
00000E26 5341 subq.w D1, 1
00000E28 5645 addq.w D5, 3
00000E2A 504C addq.w A4, 8
00000E2C 414E chk.w D0, A6
fn00000E2E:
00000E2E 4E56 FFF8 link A6, -0x0008
00000E32 48E7 0118 movem.l -[A7], D7,A3,A4
00000E36 206E 0008 movea.l A0, [A6 + 0x8]
00000E3A 2850 movea.l A4, [A0]
00000E3C 41D4 lea.l A0, [A4]
00000E3E 548C addq.l A4, 2
00000E40 30AD F452 move.w [A0], [A5 - 0xBAE]
00000E44 41D4 lea.l A0, [A4]
00000E46 548C addq.l A4, 2
00000E48 30AD F454 move.w [A0], [A5 - 0xBAC]
00000E4C 41D4 lea.l A0, [A4]
00000E4E 548C addq.l A4, 2
00000E50 30AD F456 move.w [A0], [A5 - 0xBAA]
00000E54 41D4 lea.l A0, [A4]
00000E56 548C addq.l A4, 2
00000E58 30AD F458 move.w [A0], [A5 - 0xBA8]
00000E5C 41D4 lea.l A0, [A4]
00000E5E 548C addq.l A4, 2
00000E60 30AD F45A move.w [A0], [A5 - 0xBA6]
00000E64 41D4 lea.l A0, [A4]
00000E66 548C addq.l A4, 2
00000E68 30AD F45C move.w [A0], [A5 - 0xBA4]
00000E6C 41D4 lea.l A0, [A4]
00000E6E 548C addq.l A4, 2
00000E70 30AD F45E move.w [A0], [A5 - 0xBA2]
00000E74 41D4 lea.l A0, [A4]
00000E76 548C addq.l A4, 2
00000E78 30AD F460 move.w [A0], [A5 - 0xBA0]
00000E7C 41D4 lea.l A0, [A4]
00000E7E 548C addq.l A4, 2
00000E80 30AD F462 move.w [A0], [A5 - 0xB9E]
00000E84 41D4 lea.l A0, [A4]
00000E86 548C addq.l A4, 2
00000E88 30AD F450 move.w [A0], [A5 - 0xBB0]
00000E8C 206E 0008 movea.l A0, [A6 + 0x8]
00000E90 2050 movea.l A0, [A0]
00000E92 41E8 001E lea.l A0, [A0 + 0x1E]
00000E96 2848 movea.l A4, A0
00000E98 41ED E258 lea.l A0, [A5 - 0x1DA8]
00000E9C 2648 movea.l A3, A0
00000E9E 6032 bra +0x34 /* 00000ED2 */
label00000EA0:
00000EA0 41D4 lea.l A0, [A4]
00000EA2 548C addq.l A4, 2
00000EA4 3093 move.w [A0], [A3]
00000EA6 41D4 lea.l A0, [A4]
00000EA8 548C addq.l A4, 2
00000EAA 30AB 0002 move.w [A0], [A3 + 0x2]
00000EAE 41D4 lea.l A0, [A4]
00000EB0 548C addq.l A4, 2
00000EB2 30AB 0004 move.w [A0], [A3 + 0x4]
00000EB6 41D4 lea.l A0, [A4]
00000EB8 548C addq.l A4, 2
00000EBA 302B 000A move.w D0, [A3 + 0xA]
00000EBE E148 lsl D0.w, 8
00000EC0 322B 000E move.w D1, [A3 + 0xE]
00000EC4 E749 lsl D1.w, 3
00000EC6 D041 add.w D0, D1
00000EC8 D06B 000C add.w D0, [A3 + 0xC]
00000ECC 3080 move.w [A0], D0
00000ECE 47EB 001E lea.l A3, [A3 + 0x1E]
label00000ED2:
00000ED2 41ED F0FE lea.l A0, [A5 - 0xF02]
00000ED6 B7C8 cmpa.l A3, A0
00000ED8 65C6 bcs -0x38 /* 00000EA0 */
00000EDA 41ED F0FE lea.l A0, [A5 - 0xF02]
00000EDE 2D48 FFFC move.l [A6 - 0x4], A0
00000EE2 6000 0076 bra +0x78 /* 00000F5A */
label00000EE6:
00000EE6 41D4 lea.l A0, [A4]
00000EE8 548C addq.l A4, 2
00000EEA 226E FFFC movea.l A1, [A6 - 0x4]
00000EEE 3091 move.w [A0], [A1]
00000EF0 41D4 lea.l A0, [A4]
00000EF2 548C addq.l A4, 2
00000EF4 226E FFFC movea.l A1, [A6 - 0x4]
00000EF8 30A9 0002 move.w [A0], [A1 + 0x2]
00000EFC 41D4 lea.l A0, [A4]
00000EFE 548C addq.l A4, 2
00000F00 226E FFFC movea.l A1, [A6 - 0x4]
00000F04 0C69 FFFF 0004 cmpi.w [A1 + 0x4], 0xFFFF
00000F0A 6606 bne +0x8 /* 00000F12 */
00000F0C 48E7 0080 movem.l -[A7], A0
00000F10 6018 bra +0x1A /* 00000F2A */
label00000F12:
00000F12 48E7 0080 movem.l -[A7], A0
00000F16 206E FFFC movea.l A0, [A6 - 0x4]
00000F1A 3028 0006 move.w D0, [A0 + 0x6]
00000F1E E148 lsl D0.w, 8
00000F20 206E FFFC movea.l A0, [A6 - 0x4]
00000F24 D068 0004 add.w D0, [A0 + 0x4]
00000F28 6002 bra +0x4 /* 00000F2C */
label00000F2A:
00000F2A 70FF moveq.l D0, 0xFFFFFFFF
label00000F2C:
00000F2C 4CDF 0100 movem.l A0, [A7]+
00000F30 3080 move.w [A0], D0
00000F32 7E00 moveq.l D7, 0x00
00000F34 6016 bra +0x18 /* 00000F4C */
label00000F36:
00000F36 41D4 lea.l A0, [A4]
00000F38 548C addq.l A4, 2
00000F3A 3007 move.w D0, D7
00000F3C 48C0 ext.l D0
00000F3E D080 add.l D0, D0
00000F40 D0AE FFFC add.l D0, [A6 - 0x4]
00000F44 2240 movea.l A1, D0
00000F46 30A9 000A move.w [A0], [A1 + 0xA]
00000F4A 5247 addq.w D7, 1
label00000F4C:
00000F4C 0C47 0004 cmpi.w D7, 0x4
00000F50 6DE4 blt -0x1A /* 00000F36 */
00000F52 06AE 0000 0014 FFFC addi.l [A6 - 0x4], 0x14
label00000F5A:
00000F5A 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00000F5E B1EE FFFC cmpa.l A0, [A6 - 0x4]
00000F62 6282 bhi -0x7C /* 00000EE6 */
00000F64 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00000F68 2D48 FFF8 move.l [A6 - 0x8], A0
00000F6C 601E bra +0x20 /* 00000F8C */
label00000F6E:
00000F6E 41D4 lea.l A0, [A4]
00000F70 548C addq.l A4, 2
00000F72 226E FFF8 movea.l A1, [A6 - 0x8]
00000F76 3091 move.w [A0], [A1]
00000F78 41D4 lea.l A0, [A4]
00000F7A 548C addq.l A4, 2
00000F7C 226E FFF8 movea.l A1, [A6 - 0x8]
00000F80 30A9 0002 move.w [A0], [A1 + 0x2]
00000F84 06AE 0000 000A FFF8 addi.l [A6 - 0x8], 0xA /* '\n' */
label00000F8C:
00000F8C 41ED F388 lea.l A0, [A5 - 0xC78]
00000F90 B1EE FFF8 cmpa.l A0, [A6 - 0x8]
00000F94 62D8 bhi -0x26 /* 00000F6E */
00000F96 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
00000F9A 2F0C move.l -[A7], A4
00000F9C 486D F388 pea.l [A5 - 0xC78]
00000FA0 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */]
00000FA4 4FEF 000A lea.l A7, [A7 + 0xA]
00000FA8 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000FAC 4E5E unlink A6
00000FAE 4E75 rts
00000FB0 5041 addq.w D1, 8
00000FB2 434B chk.w D1, A3
00000FB4 504C addq.w A4, 8
00000FB6 414E chk.w D0, A6
fn00000FB8:
00000FB8 4E56 FFFC link A6, -0x0004
00000FBC 42A7 clr.l -[A7]
00000FBE 4879 4D49 5343 push.l 0x4D495343 /* 'MISC' */
00000FC4 3F3C 0107 move.w -[A7], 0x107
00000FC8 A9A0 syscall GetResource
00000FCA 205F movea.l A0, [A7]+
00000FCC 2D48 FFFC move.l [A6 - 0x4], A0
00000FD0 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000FD4 4EBA FE58 jsr [PC - 0x1A8 /* 00000E2E */]
00000FD8 588F addq.l A7, 4
00000FDA 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000FDE A9AA syscall ChangedResource
00000FE0 4E5E unlink A6
00000FE2 4E75 rts
00000FE4 434F chk.w D1, A7
00000FE6 5059 addq.w [A1]+, 8
00000FE8 504C addq.w A4, 8
00000FEA 414E chk.w D0, A6
00000FEC 2F07 move.l -[A7], D7
00000FEE 302D D28E move.w D0, [A5 - 0x2D72]
00000FF2 B06D D1F0 cmp.w D0, [A5 - 0x2E10]
00000FF6 6606 bne +0x8 /* 00000FFE */
00000FF8 426D D28E clr.w [A5 - 0x2D72]
00000FFC 600E bra +0x10 /* 0000100C */
label00000FFE:
00000FFE 302D D28E move.w D0, [A5 - 0x2D72]
00001002 B06D D1F0 cmp.w D0, [A5 - 0x2E10]
00001006 6F04 ble +0x6 /* 0000100C */
00001008 536D D28E subq.w [A5 - 0x2D72], 1
label0000100C:
0000100C 7E00 moveq.l D7, 0x00
0000100E 6016 bra +0x18 /* 00001026 */
label00001010:
00001010 41ED D1F6 lea.l A0, [A5 - 0x2E0A]
00001014 D0C7 add.w A0, D7
00001016 302D D28C move.w D0, [A5 - 0x2D74]
0000101A 5340 subq.w D0, 1
0000101C 1210 move.b D1, [A0]
0000101E 4881 ext.w D1
00001020 B240 cmp.w D1, D0
00001022 6708 beq +0xA /* 0000102C */
00001024 5247 addq.w D7, 1
label00001026:
00001026 BE6D D28C cmp.w D7, [A5 - 0x2D74]
0000102A 6DE4 blt -0x1A /* 00001010 */
label0000102C:
0000102C 3007 move.w D0, D7
0000102E 5240 addq.w D0, 1
00001030 3F00 move.w -[A7], D0
00001032 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
00001036 548F addq.l A7, 2
00001038 41ED D1F6 lea.l A0, [A5 - 0x2E0A]
0000103C D0C7 add.w A0, D7
0000103E 43ED D1F6 lea.l A1, [A5 - 0x2E0A]
00001042 D2ED D1F0 add.w A1, [A5 - 0x2E10]
00001046 10A9 FFFF move.b [A0], [A1 - 0x1]
0000104A 7001 moveq.l D0, 0x01
0000104C 3B40 FE9E move.w [A5 - 0x162], D0
00001050 3007 move.w D0, D7
00001052 5240 addq.w D0, 1
00001054 3F00 move.w -[A7], D0
00001056 4EBA FD1A jsr [PC - 0x2E6 /* 00000D72 */]
0000105A 548F addq.l A7, 2
0000105C 302D D1F0 move.w D0, [A5 - 0x2E10]
00001060 5340 subq.w D0, 1
00001062 3E00 move.w D7, D0
00001064 6012 bra +0x14 /* 00001078 */
label00001066:
00001066 41ED D1F6 lea.l A0, [A5 - 0x2E0A]
0000106A D0C7 add.w A0, D7
0000106C 43ED D1F6 lea.l A1, [A5 - 0x2E0A]
00001070 D2C7 add.w A1, D7
00001072 10A9 0001 move.b [A0], [A1 + 0x1]
00001076 5247 addq.w D7, 1
label00001078:
00001078 BE6D D28C cmp.w D7, [A5 - 0x2D74]
0000107C 6DE8 blt -0x16 /* 00001066 */
0000107E 536D D28C subq.w [A5 - 0x2D74], 1
00001082 0C6D 0001 D28C cmpi.w [A5 - 0x2D74], 0x1
00001088 6C06 bge +0x8 /* 00001090 */
0000108A 4EBA 00EA jsr [PC + 0xEA /* 00001176 */]
0000108E 601C bra +0x1E /* 000010AC */
label00001090:
00001090 302D D1F0 move.w D0, [A5 - 0x2E10]
00001094 B06D D28C cmp.w D0, [A5 - 0x2D74]
00001098 6F04 ble +0x6 /* 0000109E */
0000109A 536D D1F0 subq.w [A5 - 0x2E10], 1
label0000109E:
0000109E 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
000010A2 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
000010A6 548F addq.l A7, 2
000010A8 4EBA FB7A jsr [PC - 0x486 /* 00000C24 */]
label000010AC:
000010AC 4EBA EFE0 jsr [PC - 0x1020 /* 0000008E */]
000010B0 2E1F move.l D7, [A7]+
000010B2 4E75 rts
fn000010B4:
000010B4 2F07 move.l -[A7], D7
000010B6 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
000010BA 4EBA FC70 jsr [PC - 0x390 /* 00000D2C */]
000010BE 548F addq.l A7, 2
000010C0 4A40 tst.w D0
000010C2 6700 0074 beq +0x76 /* 00001138 */
000010C6 302D D28E move.w D0, [A5 - 0x2D72]
000010CA B06D D1F0 cmp.w D0, [A5 - 0x2E10]
000010CE 6D04 blt +0x6 /* 000010D4 */
000010D0 526D D28E addq.w [A5 - 0x2D72], 1
label000010D4:
000010D4 526D D28C addq.w [A5 - 0x2D74], 1
000010D8 302D D28C move.w D0, [A5 - 0x2D74]
000010DC 5340 subq.w D0, 1
000010DE 3E00 move.w D7, D0
000010E0 6012 bra +0x14 /* 000010F4 */
label000010E2:
000010E2 41ED D1F6 lea.l A0, [A5 - 0x2E0A]
000010E6 D0C7 add.w A0, D7
000010E8 43ED D1F6 lea.l A1, [A5 - 0x2E0A]
000010EC D2C7 add.w A1, D7
000010EE 10A9 FFFF move.b [A0], [A1 - 0x1]
000010F2 5347 subq.w D7, 1
label000010F4:
000010F4 BE6D D1F0 cmp.w D7, [A5 - 0x2E10]
000010F8 6CE8 bge -0x16 /* 000010E2 */
000010FA 41ED D1F6 lea.l A0, [A5 - 0x2E0A]
000010FE D0ED D1F0 add.w A0, [A5 - 0x2E10]
00001102 302D D28C move.w D0, [A5 - 0x2D74]
00001106 5340 subq.w D0, 1
00001108 1140 FFFF move.b [A0 - 0x1], D0
0000110C 42A7 clr.l -[A7]
0000110E 4879 4D49 5343 push.l 0x4D495343 /* 'MISC' */
00001114 3F3C 0107 move.w -[A7], 0x107
00001118 A9A0 syscall GetResource
0000111A 205F movea.l A0, [A7]+
0000111C 4850 pea.l [A0]
0000111E 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
00001122 588F addq.l A7, 4
00001124 7001 moveq.l D0, 0x01
00001126 3B40 FE9E move.w [A5 - 0x162], D0
0000112A 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
0000112E 4EBA FC42 jsr [PC - 0x3BE /* 00000D72 */]
00001132 548F addq.l A7, 2
00001134 4EBA FAEE jsr [PC - 0x512 /* 00000C24 */]
label00001138:
00001138 2E1F move.l D7, [A7]+
0000113A 4E75 rts
fn0000113C:
0000113C 3B7C 00FA F45A move.w [A5 - 0xBA6], 0xFA
00001142 3B7C 00AA F45C move.w [A5 - 0xBA4], 0xAA
00001148 426D E264 clr.w [A5 - 0x1D9C]
0000114C 3B7C 2710 E258 move.w [A5 - 0x1DA8], 0x2710
00001152 70FF moveq.l D0, 0xFFFFFFFF
00001154 3B40 F102 move.w [A5 - 0xEFE], D0
00001158 3B7C 2710 F0FE move.w [A5 - 0xF02], 0x2710
0000115E 3B7C 4E20 F2F2 move.w [A5 - 0xD0E], 0x4E20 /* 'N ' */
00001164 426D F450 clr.w [A5 - 0xBB0]
00001168 7001 moveq.l D0, 0x01
0000116A 3B40 FE9E move.w [A5 - 0x162], D0
0000116E 486D FED4 pea.l [A5 - 0x12C]
00001172 A928 syscall InvalRect
00001174 4E75 rts
export_98:
fn00001176:
00001176 526D D28C addq.w [A5 - 0x2D74], 1
0000117A 3B6D D28C D1F0 move.w [A5 - 0x2E10], [A5 - 0x2D74]
00001180 41ED D1F6 lea.l A0, [A5 - 0x2E0A]
00001184 D0ED D1F0 add.w A0, [A5 - 0x2E10]
00001188 302D D28C move.w D0, [A5 - 0x2D74]
0000118C 5340 subq.w D0, 1
0000118E 1140 FFFF move.b [A0 - 0x1], D0
00001192 3B7C 07D0 F452 move.w [A5 - 0xBAE], 0x7D0
00001198 3B7C 03E8 F454 move.w [A5 - 0xBAC], 0x3E8
0000119E 426D F456 clr.w [A5 - 0xBAA]
000011A2 700C moveq.l D0, 0x0C
000011A4 3B40 F458 move.w [A5 - 0xBA8], D0
000011A8 3B7C 03E8 F45E move.w [A5 - 0xBA2], 0x3E8
000011AE 426D F460 clr.w [A5 - 0xBA0]
000011B2 7014 moveq.l D0, 0x14
000011B4 3B40 F462 move.w [A5 - 0xB9E], D0
000011B8 4EBA FF82 jsr [PC - 0x7E /* 0000113C */]
000011BC 3F2D D1F0 move.w -[A7], [A5 - 0x2E10]
000011C0 4EBA FBB0 jsr [PC - 0x450 /* 00000D72 */]
000011C4 548F addq.l A7, 2
000011C6 4EBA FA5C jsr [PC - 0x5A4 /* 00000C24 */]
000011CA 4E75 rts
fn000011CC:
000011CC 4267 clr.w -[A7]
000011CE 2F2D FED0 move.l -[A7], [A5 - 0x130]
000011D2 A960 syscall GetControlValue/GetCtlValue
000011D4 301F move.w D0, [A7]+
000011D6 3B40 DB40 move.w [A5 - 0x24C0], D0
000011DA 4267 clr.w -[A7]
000011DC 2F2D FECC move.l -[A7], [A5 - 0x134]
000011E0 A960 syscall GetControlValue/GetCtlValue
000011E2 301F move.w D0, [A7]+
000011E4 3B40 DB42 move.w [A5 - 0x24BE], D0
000011E8 486D FED4 pea.l [A5 - 0x12C]
000011EC A928 syscall InvalRect
000011EE 4EBA 0004 jsr [PC + 0x4 /* 000011F4 */]
000011F2 4E75 rts
fn000011F4:
000011F4 302D DB40 move.w D0, [A5 - 0x24C0]
000011F8 0640 01EC addi.w D0, 0x1EC
000011FC 3B40 DB44 move.w [A5 - 0x24BC], D0
00001200 302D DB42 move.w D0, [A5 - 0x24BE]
00001204 0640 011C addi.w D0, 0x11C
00001208 3B40 DB46 move.w [A5 - 0x24BA], D0
0000120C 302D DB44 move.w D0, [A5 - 0x24BC]
00001210 B06D F452 cmp.w D0, [A5 - 0xBAE]
00001214 5EC0 sgt D0
00001216 4400 neg.b D0
00001218 4880 ext.w D0
0000121A 3B40 DB48 move.w [A5 - 0x24B8], D0
0000121E 4E75 rts
fn00001220:
00001220 4E56 FFEC link A6, -0x0014
00001224 486E FFEC pea.l [A6 - 0x14]
00001228 A976 syscall GetKeys
0000122A 4267 clr.w -[A7]
0000122C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001230 486D FEE4 pea.l [A5 - 0x11C]
00001234 A8AD syscall PtInRect
00001236 101F move.b D0, [A7]+
00001238 4A00 tst.b D0
0000123A 6746 beq +0x48 /* 00001282 */
0000123C 3F2D FEA4 move.w -[A7], [A5 - 0x15C]
00001240 4EBA 092C jsr [PC + 0x92C /* 00001B6E */]
00001244 548F addq.l A7, 2
00001246 306E 0008 movea.w A0, [A6 + 0x8]
0000124A 2008 move.l D0, A0
0000124C 81FC 0020 divs.w D0, 0x20 /* ' ' */
00001250 3B40 FEA4 move.w [A5 - 0x15C], D0
00001254 0C6D 0003 FEA4 cmpi.w [A5 - 0x15C], 0x3
0000125A 6F06 ble +0x8 /* 00001262 */
0000125C 7003 moveq.l D0, 0x03
0000125E 3B40 FEA4 move.w [A5 - 0x15C], D0
label00001262:
00001262 3F2D FEA4 move.w -[A7], [A5 - 0x15C]
00001266 4EBA 0906 jsr [PC + 0x906 /* 00001B6E */]
0000126A 548F addq.l A7, 2
0000126C 4A6D FEA0 tst.w [A5 - 0x160]
00001270 6700 0154 beq +0x156 /* 000013C6 */
00001274 426D FEA0 clr.w [A5 - 0x160]
00001278 486D FED4 pea.l [A5 - 0x12C]
0000127C A928 syscall InvalRect
0000127E 6000 0146 bra +0x148 /* 000013C6 */
label00001282:
00001282 4267 clr.w -[A7]
00001284 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001288 486D FEEC pea.l [A5 - 0x114]
0000128C A8AD syscall PtInRect
0000128E 101F move.b D0, [A7]+
00001290 4A00 tst.b D0
00001292 673E beq +0x40 /* 000012D2 */
00001294 3F2D FEA4 move.w -[A7], [A5 - 0x15C]
00001298 4EBA 08D4 jsr [PC + 0x8D4 /* 00001B6E */]
0000129C 548F addq.l A7, 2
0000129E 302E 0008 move.w D0, [A6 + 0x8]
000012A2 906D FEEC sub.w D0, [A5 - 0x114]
000012A6 48C0 ext.l D0
000012A8 81FC 0018 divs.w D0, 0x18
000012AC 3B40 FEA6 move.w [A5 - 0x15A], D0
000012B0 7004 moveq.l D0, 0x04
000012B2 3B40 FEA4 move.w [A5 - 0x15C], D0
000012B6 0C6D 0002 FEA6 cmpi.w [A5 - 0x15A], 0x2
000012BC 6F06 ble +0x8 /* 000012C4 */
000012BE 7002 moveq.l D0, 0x02
000012C0 3B40 FEA6 move.w [A5 - 0x15A], D0
label000012C4:
000012C4 3F2D FEA4 move.w -[A7], [A5 - 0x15C]
000012C8 4EBA 08A4 jsr [PC + 0x8A4 /* 00001B6E */]
000012CC 548F addq.l A7, 2
000012CE 6000 00F6 bra +0xF8 /* 000013C6 */
label000012D2:
000012D2 4267 clr.w -[A7]
000012D4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000012D8 486D FED4 pea.l [A5 - 0x12C]
000012DC A8AD syscall PtInRect
000012DE 101F move.b D0, [A7]+
000012E0 4A00 tst.b D0
000012E2 6700 00C6 beq +0xC8 /* 000013AA */
000012E6 102E FFF3 move.b D0, [A6 - 0xD]
000012EA 4880 ext.w D0
000012EC 0800 0002 btst.b D0, 0x2
000012F0 660A bne +0xC /* 000012FC */
000012F2 0C6D 0001 FEA4 cmpi.w [A5 - 0x15C], 0x1
000012F8 6600 0068 bne +0x6A /* 00001362 */
label000012FC:
000012FC 42A7 clr.l -[A7]
000012FE A975 syscall TickCount
00001300 201F move.l D0, [A7]+
00001302 0680 0000 001E addi.l D0, 0x1E
00001308 2D40 FFFC move.l [A6 - 0x4], D0
0000130C 3F3C 0001 move.w -[A7], 0x1
00001310 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001314 4EBA 24C4 jsr [PC + 0x24C4 /* 000037DA */]
00001318 5C8F addq.l A7, 6
0000131A 6038 bra +0x3A /* 00001354 */
label0000131C:
0000131C 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00001320 A922 syscall BeginUpdate
00001322 4EBA 08E8 jsr [PC + 0x8E8 /* 00001C0C */]
00001326 2F2D FEC8 move.l -[A7], [A5 - 0x138]
0000132A A923 syscall EndUpdate
0000132C 4267 clr.w -[A7]
0000132E A973 syscall StillDown
00001330 101F move.b D0, [A7]+
00001332 4A00 tst.b D0
00001334 671E beq +0x20 /* 00001354 */
00001336 42A7 clr.l -[A7]
00001338 A975 syscall TickCount
0000133A 201F move.l D0, [A7]+
0000133C B0AE FFFC cmp.l D0, [A6 - 0x4]
00001340 6F12 ble +0x14 /* 00001354 */
00001342 486E 0008 pea.l [A6 + 0x8]
00001346 A972 syscall GetMouse
00001348 4267 clr.w -[A7]
0000134A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000134E 4EBA 248A jsr [PC + 0x248A /* 000037DA */]
00001352 5C8F addq.l A7, 6
label00001354:
00001354 4267 clr.w -[A7]
00001356 A973 syscall StillDown
00001358 101F move.b D0, [A7]+
0000135A 4A00 tst.b D0
0000135C 66BE bne -0x40 /* 0000131C */
0000135E 6000 0066 bra +0x68 /* 000013C6 */
label00001362:
00001362 302D FEA4 move.w D0, [A5 - 0x15C]
00001366 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000136A 0000 0004 ori.b D0, 0x4
0000136E 0058 000A ori.w [A0]+, 0xA /* '\n' */
00001372 0054 0012 ori.w [A4], 0x12
00001376 001C 0026 ori.b [A4]+, 0x26 /* '&' */
0000137A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000137E 4EBA 1122 jsr [PC + 0x1122 /* 000024A2 */]
00001382 588F addq.l A7, 4
00001384 6040 bra +0x42 /* 000013C6 */
00001386 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000138A 4EBA 2716 jsr [PC + 0x2716 /* 00003AA2 */]
0000138E 588F addq.l A7, 4
00001390 6034 bra +0x36 /* 000013C6 */
00001392 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001396 4EBA 2770 jsr [PC + 0x2770 /* 00003B08 */]
0000139A 588F addq.l A7, 4
0000139C 6028 bra +0x2A /* 000013C6 */
0000139E 2F2E 0008 move.l -[A7], [A6 + 0x8]
000013A2 4EBA 1E24 jsr [PC + 0x1E24 /* 000031C8 */]
000013A6 588F addq.l A7, 4
000013A8 601C bra +0x1E /* 000013C6 */
label000013AA:
000013AA 4267 clr.w -[A7]
000013AC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000013B0 486D FEDC pea.l [A5 - 0x124]
000013B4 A8AD syscall PtInRect
000013B6 101F move.b D0, [A7]+
000013B8 4A00 tst.b D0
000013BA 670A beq +0xC /* 000013C6 */
000013BC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000013C0 4EBA 1BCE jsr [PC + 0x1BCE /* 00002F90 */]
000013C4 588F addq.l A7, 4
label000013C6:
000013C6 4E5E unlink A6
000013C8 4E75 rts
000013CA 444F neg.w A7
000013CC 434C chk.w D1, A4
000013CE 4943 chk.w D4, D3
000013D0 4B20 .invalid 5, -[A0] // invalid opcode 4 with b == 4
export_97:
000013D2 4E56 FFF6 link A6, -0x000A
000013D6 486D FF6E pea.l [A5 - 0x92]
000013DA A8A3 syscall EraseRect
000013DC 486D FF6E pea.l [A5 - 0x92]
000013E0 A8A1 syscall FrameRect
000013E2 3F3C 003B move.w -[A7], 0x3B /* ';' */
000013E6 3F3C 0082 move.w -[A7], 0x82
000013EA A893 syscall MoveTo
000013EC 3F3C 0002 move.w -[A7], 0x2
000013F0 4267 clr.w -[A7]
000013F2 A892 syscall Line
000013F4 3F3C 003C move.w -[A7], 0x3C /* '<' */
000013F8 3F3C 0081 move.w -[A7], 0x81
000013FC A893 syscall MoveTo
000013FE 4267 clr.w -[A7]
00001400 3F3C 0002 move.w -[A7], 0x2
00001404 A892 syscall Line
00001406 306D F460 movea.w A0, [A5 - 0xBA0]
0000140A 2008 move.l D0, A0
0000140C 81FC 0003 divs.w D0, 0x3
00001410 3D40 FFFC move.w [A6 - 0x4], D0
00001414 306D F462 movea.w A0, [A5 - 0xB9E]
00001418 2008 move.l D0, A0
0000141A 81FC 0003 divs.w D0, 0x3
0000141E 3D40 FFFA move.w [A6 - 0x6], D0
00001422 302E FFFC move.w D0, [A6 - 0x4]
00001426 C1EE FFFC muls.w D0, [A6 - 0x4]
0000142A 322E FFFA move.w D1, [A6 - 0x6]
0000142E C3EE FFFA muls.w D1, [A6 - 0x6]
00001432 D041 add.w D0, D1
00001434 3F00 move.w -[A7], D0
00001436 4EBA 008A jsr [PC + 0x8A /* 000014C2 */]
0000143A 548F addq.l A7, 2
0000143C 3D40 FFFE move.w [A6 - 0x2], D0
00001440 4A6E FFFE tst.w [A6 - 0x2]
00001444 6F6A ble +0x6C /* 000014B0 */
00001446 3F3C 003C move.w -[A7], 0x3C /* '<' */
0000144A 3F3C 0082 move.w -[A7], 0x82
0000144E A893 syscall MoveTo
00001450 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001454 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001458 A892 syscall Line
0000145A 302E FFFC move.w D0, [A6 - 0x4]
0000145E D06E FFFA add.w D0, [A6 - 0x6]
00001462 C1FC FFFD muls.w D0, 0xFFFD
00001466 48C0 ext.l D0
00001468 81EE FFFE divs.w D0, [A6 - 0x2]
0000146C 3D40 FFF8 move.w [A6 - 0x8], D0
00001470 302E FFFC move.w D0, [A6 - 0x4]
00001474 906E FFFA sub.w D0, [A6 - 0x6]
00001478 C1FC 0003 muls.w D0, 0x3
0000147C 48C0 ext.l D0
0000147E 81EE FFFE divs.w D0, [A6 - 0x2]
00001482 3D40 FFF6 move.w [A6 - 0xA], D0
00001486 3F2E FFF8 move.w -[A7], [A6 - 0x8]
0000148A 3F2E FFF6 move.w -[A7], [A6 - 0xA]
0000148E A892 syscall Line
00001490 302E FFF8 move.w D0, [A6 - 0x8]
00001494 4440 neg.w D0
00001496 322E FFF6 move.w D1, [A6 - 0xA]
0000149A 4441 neg.w D1
0000149C 3F00 move.w -[A7], D0
0000149E 3F01 move.w -[A7], D1
000014A0 A894 syscall Move
000014A2 302E FFF6 move.w D0, [A6 - 0xA]
000014A6 4440 neg.w D0
000014A8 3F00 move.w -[A7], D0
000014AA 3F2E FFF8 move.w -[A7], [A6 - 0x8]
000014AE A892 syscall Line
label000014B0:
000014B0 4E5E unlink A6
000014B2 205F movea.l A0, [A7]+
000014B4 4FEF 0006 lea.l A7, [A7 + 0x6]
000014B8 4ED0 jmp [A0]
000014BA 4452 neg.w [A2]
000014BC 4157 chk.w D0, [A7]
000014BE 4742 chk.w D3, D2
000014C0 4F58 chk.w D7, [A0]+
fn000014C2:
000014C2 4E56 FFFC link A6, -0x0004
000014C6 70FF moveq.l D0, 0xFFFFFFFF
000014C8 3D40 FFFE move.w [A6 - 0x2], D0
000014CC 7001 moveq.l D0, 0x01
000014CE 3D40 FFFC move.w [A6 - 0x4], D0
000014D2 6010 bra +0x12 /* 000014E4 */
label000014D4:
000014D4 302E FFFC move.w D0, [A6 - 0x4]
000014D8 916E 0008 sub.w [A6 + 0x8], D0
000014DC 526E FFFE addq.w [A6 - 0x2], 1
000014E0 546E FFFC addq.w [A6 - 0x4], 2
label000014E4:
000014E4 4A6E 0008 tst.w [A6 + 0x8]
000014E8 6CEA bge -0x14 /* 000014D4 */
000014EA 302E FFFE move.w D0, [A6 - 0x2]
000014EE 4E5E unlink A6
000014F0 4E75 rts
000014F2 5351 subq.w [A1], 1
000014F4 524F addq.w A7, 1
000014F6 4F54 chk.w D7, [A4]
000014F8 2020 move.l D0, -[A0]
fn000014FA:
000014FA 4E56 FFDE link A6, -0x0022
000014FE 2F07 move.l -[A7], D7
00001500 42A7 clr.l -[A7]
00001502 3F3C 0007 move.w -[A7], 0x7
00001506 42A7 clr.l -[A7]
00001508 4878 FFFF push.l 0xFFFF
0000150C A97C syscall GetNewDialog
0000150E 205F movea.l A0, [A7]+
00001510 2D48 FFFC move.l [A6 - 0x4], A0
00001514 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001518 3F3C 0002 move.w -[A7], 0x2
0000151C 4267 clr.w -[A7]
0000151E 486D 032A pea.l [A5 + 0x32A /* export_97 */]
00001522 486D FF6E pea.l [A5 - 0x92]
00001526 A98E syscall SetDialogItem/SetDItem
00001528 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000152C A915 syscall ShowWindow
0000152E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001532 A873 syscall SetPort
00001534 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001538 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
0000153C 588F addq.l A7, 4
0000153E 3F2D F452 move.w -[A7], [A5 - 0xBAE]
00001542 3F3C 0004 move.w -[A7], 0x4
00001546 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000154A 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
0000154E 508F addq.l A7, 8
00001550 3F2D F454 move.w -[A7], [A5 - 0xBAC]
00001554 3F3C 0005 move.w -[A7], 0x5
00001558 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000155C 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
00001560 508F addq.l A7, 8
00001562 3F2D F458 move.w -[A7], [A5 - 0xBA8]
00001566 3F3C 0006 move.w -[A7], 0x6
0000156A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000156E 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
00001572 508F addq.l A7, 8
00001574 3F2D F45E move.w -[A7], [A5 - 0xBA2]
00001578 3F3C 0007 move.w -[A7], 0x7
0000157C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001580 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
00001584 508F addq.l A7, 8
00001586 426E FFF6 clr.w [A6 - 0xA]
0000158A 6000 017A bra +0x17C /* 00001706 */
label0000158E:
0000158E 3F2D F456 move.w -[A7], [A5 - 0xBAA]
00001592 3F3C 0003 move.w -[A7], 0x3
00001596 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000159A 4EBA 0324 jsr [PC + 0x324 /* 000018C0 */]
0000159E 508F addq.l A7, 8
000015A0 486D 01F2 pea.l [A5 + 0x1F2 /* export_58 */]
000015A4 486E FFF4 pea.l [A6 - 0xC]
000015A8 A991 syscall ModalDialog
000015AA 302E FFF4 move.w D0, [A6 - 0xC]
000015AE 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000015B2 0001 0003 ori.b D1, 0x3
000015B6 0150 bchg [A0], D0
000015B8 0006 0100 ori.b D6, 0x0
000015BC 013C 7001 btst 0x1, D0
000015C0 3D40 FFF6 move.w [A6 - 0xA], D0
000015C4 486E FFF6 pea.l [A6 - 0xA]
000015C8 3F3C 7530 move.w -[A7], 0x7530 /* 'u0' */
000015CC 4267 clr.w -[A7]
000015CE 3F3C 0007 move.w -[A7], 0x7
000015D2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000015D6 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
000015DA 4FEF 000E lea.l A7, [A7 + 0xE]
000015DE 3B40 F45E move.w [A5 - 0xBA2], D0
000015E2 486E FFF6 pea.l [A6 - 0xA]
000015E6 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
000015EA 4267 clr.w -[A7]
000015EC 3F3C 0006 move.w -[A7], 0x6
000015F0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000015F4 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
000015F8 4FEF 000E lea.l A7, [A7 + 0xE]
000015FC 3B40 F458 move.w [A5 - 0xBA8], D0
00001600 486E FFEC pea.l [A6 - 0x14]
00001604 486E FFEA pea.l [A6 - 0x16]
00001608 4EBA 012E jsr [PC + 0x12E /* 00001738 */]
0000160C 508F addq.l A7, 8
0000160E 486E FFF6 pea.l [A6 - 0xA]
00001612 3F3C 0FA0 move.w -[A7], 0xFA0
00001616 3F2E FFEC move.w -[A7], [A6 - 0x14]
0000161A 3F3C 0005 move.w -[A7], 0x5
0000161E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001622 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00001626 4FEF 000E lea.l A7, [A7 + 0xE]
0000162A 3B40 F454 move.w [A5 - 0xBAC], D0
0000162E 486E FFF6 pea.l [A6 - 0xA]
00001632 3F3C 0FA0 move.w -[A7], 0xFA0
00001636 3F2E FFEA move.w -[A7], [A6 - 0x16]
0000163A 3F3C 0004 move.w -[A7], 0x4
0000163E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001642 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
00001646 4FEF 000E lea.l A7, [A7 + 0xE]
0000164A 3B40 F452 move.w [A5 - 0xBAE], D0
0000164E 302D F452 move.w D0, [A5 - 0xBAE]
00001652 B06E FFEA cmp.w D0, [A6 - 0x16]
00001656 6C18 bge +0x1A /* 00001670 */
00001658 0C6D 0258 F452 cmpi.w [A5 - 0xBAE], 0x258
0000165E 6D10 blt +0x12 /* 00001670 */
00001660 4879 0000 01C8 push.l 0x1C8
00001666 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
0000166A 588F addq.l A7, 4
0000166C 6000 0098 bra +0x9A /* 00001706 */
label00001670:
00001670 302D F454 move.w D0, [A5 - 0xBAC]
00001674 B06E FFEC cmp.w D0, [A6 - 0x14]
00001678 6C18 bge +0x1A /* 00001692 */
0000167A 0C6D 0190 F454 cmpi.w [A5 - 0xBAC], 0x190
00001680 6D10 blt +0x12 /* 00001692 */
00001682 4879 0000 0208 push.l 0x208
00001688 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
0000168C 588F addq.l A7, 4
0000168E 6000 0076 bra +0x78 /* 00001706 */
label00001692:
00001692 082D 0000 F453 btst.b [A5 - 0xBAD], 0x0
00001698 6712 beq +0x14 /* 000016AC */
0000169A 4879 0000 024A push.l 0x24A
000016A0 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
000016A4 588F addq.l A7, 4
000016A6 426E FFF6 clr.w [A6 - 0xA]
000016AA 605A bra +0x5C /* 00001706 */
label000016AC:
000016AC 4A6E FFF6 tst.w [A6 - 0xA]
000016B0 6654 bne +0x56 /* 00001706 */
000016B2 3F3C 000A move.w -[A7], 0xA /* '\n' */
000016B6 A9C8 syscall SysBeep
000016B8 604C bra +0x4E /* 00001706 */
000016BA 486E FFDE pea.l [A6 - 0x22]
000016BE A972 syscall GetMouse
000016C0 302E FFE0 move.w D0, [A6 - 0x20]
000016C4 0640 FFC4 addi.w D0, 0xFFC4
000016C8 3D40 FFF0 move.w [A6 - 0x10], D0
000016CC 302E FFDE move.w D0, [A6 - 0x22]
000016D0 0640 FF7E addi.w D0, 0xFF7E
000016D4 3D40 FFEE move.w [A6 - 0x12], D0
000016D8 302E FFF0 move.w D0, [A6 - 0x10]
000016DC C1FC 0003 muls.w D0, 0x3
000016E0 3B40 F460 move.w [A5 - 0xBA0], D0
000016E4 302E FFEE move.w D0, [A6 - 0x12]
000016E8 C1FC 0003 muls.w D0, 0x3
000016EC 3B40 F462 move.w [A5 - 0xB9E], D0
000016F0 486D FF6E pea.l [A5 - 0x92]
000016F4 A928 syscall InvalRect
000016F6 600E bra +0x10 /* 00001706 */
000016F8 4A6D F456 tst.w [A5 - 0xBAA]
000016FC 57C0 seq D0
000016FE 4400 neg.b D0
00001700 4880 ext.w D0
00001702 3B40 F456 move.w [A5 - 0xBAA], D0
label00001706:
00001706 4A6E FFF6 tst.w [A6 - 0xA]
0000170A 6700 FE82 beq -0x17C /* 0000158E */
0000170E 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00001712 A873 syscall SetPort
00001714 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001718 A983 syscall DisposeDialog
0000171A 7001 moveq.l D0, 0x01
0000171C 3B40 FE9E move.w [A5 - 0x162], D0
00001720 486D FED4 pea.l [A5 - 0x12C]
00001724 A928 syscall InvalRect
00001726 4EBA EC64 jsr [PC - 0x139C /* 0000038C */]
0000172A 2E1F move.l D7, [A7]+
0000172C 4E5E unlink A6
0000172E 4E75 rts
00001730 504C addq.w A4, 8
00001732 414E chk.w D0, A6
00001734 4554 chk.w D2, [A4]
00001736 474C chk.w D3, A4
fn00001738:
00001738 4E56 FFF4 link A6, -0x000C
0000173C 48E7 0038 movem.l -[A7], A2,A3,A4
00001740 286E 0008 movea.l A4, [A6 + 0x8]
00001744 266E 000C movea.l A3, [A6 + 0xC]
00001748 38BC 0258 move.w [A4], 0x258
0000174C 36BC 0190 move.w [A3], 0x190
00001750 41ED E258 lea.l A0, [A5 - 0x1DA8]
00001754 2448 movea.l A2, A0
00001756 602A bra +0x2C /* 00001782 */
label00001758:
00001758 3F2A 0002 move.w -[A7], [A2 + 0x2]
0000175C 3F12 move.w -[A7], [A2]
0000175E 2F0B move.l -[A7], A3
00001760 2F0C move.l -[A7], A4
00001762 4EBA 0114 jsr [PC + 0x114 /* 00001878 */]
00001766 4FEF 000C lea.l A7, [A7 + 0xC]
0000176A 3F2A 0008 move.w -[A7], [A2 + 0x8]
0000176E 3F2A 0006 move.w -[A7], [A2 + 0x6]
00001772 2F0B move.l -[A7], A3
00001774 2F0C move.l -[A7], A4
00001776 4EBA 0100 jsr [PC + 0x100 /* 00001878 */]
0000177A 4FEF 000C lea.l A7, [A7 + 0xC]
0000177E 45EA 001E lea.l A2, [A2 + 0x1E]
label00001782:
00001782 4A6A 000C tst.w [A2 + 0xC]
00001786 66D0 bne -0x2E /* 00001758 */
00001788 41ED F0FE lea.l A0, [A5 - 0xF02]
0000178C 2D48 FFFC move.l [A6 - 0x4], A0
00001790 602E bra +0x30 /* 000017C0 */
label00001792:
00001792 206E FFFC movea.l A0, [A6 - 0x4]
00001796 226E FFFC movea.l A1, [A6 - 0x4]
0000179A 3029 0002 move.w D0, [A1 + 0x2]
0000179E 0640 000A addi.w D0, 0xA /* '\n' */
000017A2 3F00 move.w -[A7], D0
000017A4 3010 move.w D0, [A0]
000017A6 0640 000A addi.w D0, 0xA /* '\n' */
000017AA 3F00 move.w -[A7], D0
000017AC 2F0B move.l -[A7], A3
000017AE 2F0C move.l -[A7], A4
000017B0 4EBA 00C6 jsr [PC + 0xC6 /* 00001878 */]
000017B4 4FEF 000C lea.l A7, [A7 + 0xC]
000017B8 06AE 0000 0014 FFFC addi.l [A6 - 0x4], 0x14
label000017C0:
000017C0 206E FFFC movea.l A0, [A6 - 0x4]
000017C4 4A68 0004 tst.w [A0 + 0x4]
000017C8 6CC8 bge -0x36 /* 00001792 */
000017CA 41ED F388 lea.l A0, [A5 - 0xC78]
000017CE 2D48 FFF8 move.l [A6 - 0x8], A0
000017D2 602A bra +0x2C /* 000017FE */
label000017D4:
000017D4 206E FFF8 movea.l A0, [A6 - 0x8]
000017D8 226E FFF8 movea.l A1, [A6 - 0x8]
000017DC 3029 0002 move.w D0, [A1 + 0x2]
000017E0 0640 000A addi.w D0, 0xA /* '\n' */
000017E4 3F00 move.w -[A7], D0
000017E6 3010 move.w D0, [A0]
000017E8 0640 000A addi.w D0, 0xA /* '\n' */
000017EC 3F00 move.w -[A7], D0
000017EE 2F0B move.l -[A7], A3
000017F0 2F0C move.l -[A7], A4
000017F2 4EBA 0084 jsr [PC + 0x84 /* 00001878 */]
000017F6 4FEF 000C lea.l A7, [A7 + 0xC]
000017FA 58AE FFF8 addq.l [A6 - 0x8], 4
label000017FE:
000017FE 302D F450 move.w D0, [A5 - 0xBB0]
00001802 48C0 ext.l D0
00001804 E580 asl D0, 2
00001806 41ED F388 lea.l A0, [A5 - 0xC78]
0000180A D1C0 add.l A0, D0
0000180C B1EE FFF8 cmpa.l A0, [A6 - 0x8]
00001810 62C2 bhi -0x3C /* 000017D4 */
00001812 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00001816 2D48 FFF4 move.l [A6 - 0xC], A0
0000181A 602E bra +0x30 /* 0000184A */
label0000181C:
0000181C 206E FFF4 movea.l A0, [A6 - 0xC]
00001820 226E FFF4 movea.l A1, [A6 - 0xC]
00001824 3029 0002 move.w D0, [A1 + 0x2]
00001828 0640 000A addi.w D0, 0xA /* '\n' */
0000182C 3F00 move.w -[A7], D0
0000182E 3010 move.w D0, [A0]
00001830 0640 000A addi.w D0, 0xA /* '\n' */
00001834 3F00 move.w -[A7], D0
00001836 2F0B move.l -[A7], A3
00001838 2F0C move.l -[A7], A4
0000183A 4EBA 003C jsr [PC + 0x3C /* 00001878 */]
0000183E 4FEF 000C lea.l A7, [A7 + 0xC]
00001842 06AE 0000 000A FFF4 addi.l [A6 - 0xC], 0xA /* '\n' */
label0000184A:
0000184A 206E FFF4 movea.l A0, [A6 - 0xC]
0000184E 0C50 2710 cmpi.w [A0], 0x2710
00001852 6DC8 blt -0x36 /* 0000181C */
00001854 3F2D F45C move.w -[A7], [A5 - 0xBA4]
00001858 3F2D F45A move.w -[A7], [A5 - 0xBA6]
0000185C 2F0B move.l -[A7], A3
0000185E 2F0C move.l -[A7], A4
00001860 4EBA 0016 jsr [PC + 0x16 /* 00001878 */]
00001864 4FEF 000C lea.l A7, [A7 + 0xC]
00001868 4CDF 1C00 movem.l A2,A3,A4, [A7]+
0000186C 4E5E unlink A6
0000186E 4E75 rts
00001870 4745 chk.w D3, D5
00001872 544D addq.w A5, 2
00001874 494E chk.w D4, A6
00001876 4449 neg.w A1
fn00001878:
00001878 4E56 0000 link A6, 0
0000187C 0C6E 0FA0 0010 cmpi.w [A6 + 0x10], 0xFA0
00001882 6C14 bge +0x16 /* 00001898 */
00001884 206E 0008 movea.l A0, [A6 + 0x8]
00001888 302E 0010 move.w D0, [A6 + 0x10]
0000188C B050 cmp.w D0, [A0]
0000188E 6F08 ble +0xA /* 00001898 */
00001890 206E 0008 movea.l A0, [A6 + 0x8]
00001894 30AE 0010 move.w [A0], [A6 + 0x10]
label00001898:
00001898 0C6E 0FA0 0012 cmpi.w [A6 + 0x12], 0xFA0
0000189E 6C14 bge +0x16 /* 000018B4 */
000018A0 206E 000C movea.l A0, [A6 + 0xC]
000018A4 302E 0012 move.w D0, [A6 + 0x12]
000018A8 B050 cmp.w D0, [A0]
000018AA 6F08 ble +0xA /* 000018B4 */
000018AC 206E 000C movea.l A0, [A6 + 0xC]
000018B0 30AE 0012 move.w [A0], [A6 + 0x12]
label000018B4:
000018B4 4E5E unlink A6
000018B6 4E75 rts
000018B8 4745 chk.w D3, D5
000018BA 5431 4D49 addq.b [[A1 + <<invalid base displacement size>>]], 2
000018BE 4E20 .invalid // invalid opcode 4
fn000018C0:
000018C0 4E56 FFF2 link A6, -0x000E
000018C4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000018C8 3F2E 000C move.w -[A7], [A6 + 0xC]
000018CC 486E FFF6 pea.l [A6 - 0xA]
000018D0 486E FFF2 pea.l [A6 - 0xE]
000018D4 486E FFF8 pea.l [A6 - 0x8]
000018D8 A98D syscall GetDialogItem/GetDItem
000018DA 2F2E FFF2 move.l -[A7], [A6 - 0xE]
000018DE 3F2E 000E move.w -[A7], [A6 + 0xE]
000018E2 A963 syscall SetControlValue/SetCtlValue
000018E4 4E5E unlink A6
000018E6 4E75 rts
000018E8 5345 subq.w D5, 1
000018EA 5449 addq.w A1, 2
000018EC 5445 addq.w D5, 2
000018EE 4D56 chk.w D6, [A6]
fn000018F0:
000018F0 4E56 FFF2 link A6, -0x000E
000018F4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000018F8 3F2E 000C move.w -[A7], [A6 + 0xC]
000018FC 486E FFF6 pea.l [A6 - 0xA]
00001900 486E FFF2 pea.l [A6 - 0xE]
00001904 486E FFF8 pea.l [A6 - 0x8]
00001908 A98D syscall GetDialogItem/GetDItem
0000190A 4267 clr.w -[A7]
0000190C 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00001910 A960 syscall GetControlValue/GetCtlValue
00001912 301F move.w D0, [A7]+
00001914 4E5E unlink A6
00001916 4E75 rts
00001918 4745 chk.w D3, D5
0000191A 5449 addq.w A1, 2
0000191C 5445 addq.w D5, 2
0000191E 4D56 chk.w D6, [A6]
fn00001920:
00001920 4E56 FFFC link A6, -0x0004
00001924 2F07 move.l -[A7], D7
00001926 486D FEDC pea.l [A5 - 0x124]
0000192A A8A3 syscall EraseRect
0000192C 302D FEE2 move.w D0, [A5 - 0x11E]
00001930 5340 subq.w D0, 1
00001932 3F00 move.w -[A7], D0
00001934 3F2D FEDC move.w -[A7], [A5 - 0x124]
00001938 A893 syscall MoveTo
0000193A 302D FEE2 move.w D0, [A5 - 0x11E]
0000193E 5340 subq.w D0, 1
00001940 3F00 move.w -[A7], D0
00001942 3F2D FEE0 move.w -[A7], [A5 - 0x120]
00001946 A891 syscall LineTo
00001948 7E1F moveq.l D7, 0x1F
0000194A 6012 bra +0x14 /* 0000195E */
label0000194C:
0000194C 4267 clr.w -[A7]
0000194E 3F07 move.w -[A7], D7
00001950 A893 syscall MoveTo
00001952 3F3C 001F move.w -[A7], 0x1F
00001956 3F07 move.w -[A7], D7
00001958 A891 syscall LineTo
0000195A 0647 0020 addi.w D7, 0x20 /* ' ' */
label0000195E:
0000195E 0C47 0080 cmpi.w D7, 0x80
00001962 6DE8 blt -0x16 /* 0000194C */
00001964 3F3C 0001 move.w -[A7], 0x1
00001968 3F3C 0008 move.w -[A7], 0x8
0000196C 3F3C 000C move.w -[A7], 0xC
00001970 3F3C 0010 move.w -[A7], 0x10
00001974 3F3C 0010 move.w -[A7], 0x10
00001978 3F3C 0002 move.w -[A7], 0x2
0000197C 486D D0BC pea.l [A5 - 0x2F44]
00001980 4EBA 05E0 jsr [PC + 0x5E0 /* 00001F62 */]
00001984 4FEF 0010 lea.l A7, [A7 + 0x10]
00001988 3F3C 0001 move.w -[A7], 0x1
0000198C 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00001990 3F3C 0008 move.w -[A7], 0x8
00001994 3F3C 0010 move.w -[A7], 0x10
00001998 3F3C 0010 move.w -[A7], 0x10
0000199C 3F3C 0002 move.w -[A7], 0x2
000019A0 206D FEB0 movea.l A0, [A5 - 0x150]
000019A4 2F10 move.l -[A7], [A0]
000019A6 4EBA 05BA jsr [PC + 0x5BA /* 00001F62 */]
000019AA 4FEF 0010 lea.l A7, [A7 + 0x10]
000019AE 3F3C 0001 move.w -[A7], 0x1
000019B2 3F3C 0040 move.w -[A7], 0x40 /* '@' */
000019B6 4267 clr.w -[A7]
000019B8 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000019BC 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000019C0 3F3C 0004 move.w -[A7], 0x4
000019C4 486D C884 pea.l [A5 - 0x377C]
000019C8 4EBA 0598 jsr [PC + 0x598 /* 00001F62 */]
000019CC 4FEF 0010 lea.l A7, [A7 + 0x10]
000019D0 3F3C 0001 move.w -[A7], 0x1
000019D4 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
000019D8 4267 clr.w -[A7]
000019DA 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000019DE 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000019E2 3F3C 0004 move.w -[A7], 0x4
000019E6 2F2D C854 move.l -[A7], [A5 - 0x37AC]
000019EA 4EBA 0576 jsr [PC + 0x576 /* 00001F62 */]
000019EE 4FEF 0010 lea.l A7, [A7 + 0x10]
000019F2 3E3C 0081 move.w D7, 0x81
000019F6 6012 bra +0x14 /* 00001A0A */
label000019F8:
000019F8 4267 clr.w -[A7]
000019FA 3F07 move.w -[A7], D7
000019FC A893 syscall MoveTo
000019FE 3F3C 001F move.w -[A7], 0x1F
00001A02 3F07 move.w -[A7], D7
00001A04 A891 syscall LineTo
00001A06 0647 0020 addi.w D7, 0x20 /* ' ' */
label00001A0A:
00001A0A 0C47 00A2 cmpi.w D7, 0xA2
00001A0E 6DE8 blt -0x16 /* 000019F8 */
00001A10 4267 clr.w -[A7]
00001A12 3F3C 00D1 move.w -[A7], 0xD1
00001A16 A893 syscall MoveTo
00001A18 3F3C 001F move.w -[A7], 0x1F
00001A1C 3F3C 00D1 move.w -[A7], 0xD1
00001A20 A891 syscall LineTo
00001A22 3F3C 0091 move.w -[A7], 0x91
00001A26 3F3C 0010 move.w -[A7], 0x10
00001A2A 4EBA 05E6 jsr [PC + 0x5E6 /* 00002012 */]
00001A2E 588F addq.l A7, 4
00001A30 486D FFC6 pea.l [A5 - 0x3A]
00001A34 A87B syscall ClipRect
00001A36 0C6D 0002 FEA8 cmpi.w [A5 - 0x158], 0x2
00001A3C 6C04 bge +0x6 /* 00001A42 */
00001A3E 700D moveq.l D0, 0x0D
00001A40 6002 bra +0x4 /* 00001A44 */
label00001A42:
00001A42 7000 moveq.l D0, 0x00
label00001A44:
00001A44 3F2D FEA8 move.w -[A7], [A5 - 0x158]
00001A48 4267 clr.w -[A7]
00001A4A 0640 00B0 addi.w D0, 0xB0
00001A4E 3F00 move.w -[A7], D0
00001A50 3F3C 0010 move.w -[A7], 0x10
00001A54 4EBA 05FC jsr [PC + 0x5FC /* 00002052 */]
00001A58 508F addq.l A7, 8
00001A5A 2F2D FEFC move.l -[A7], [A5 - 0x104]
00001A5E A879 syscall SetClip
00001A60 42A7 clr.l -[A7]
00001A62 3F3C 0100 move.w -[A7], 0x100
00001A66 A9B9 syscall GetCursor
00001A68 205F movea.l A0, [A7]+
00001A6A 2D48 FFFC move.l [A6 - 0x4], A0
00001A6E 3F3C 0001 move.w -[A7], 0x1
00001A72 3F3C 00C2 move.w -[A7], 0xC2
00001A76 3F3C 0001 move.w -[A7], 0x1
00001A7A 3F3C 0010 move.w -[A7], 0x10
00001A7E 3F3C 0010 move.w -[A7], 0x10
00001A82 3F3C 0002 move.w -[A7], 0x2
00001A86 206E FFFC movea.l A0, [A6 - 0x4]
00001A8A 2F10 move.l -[A7], [A0]
00001A8C 4EBA 04D4 jsr [PC + 0x4D4 /* 00001F62 */]
00001A90 4FEF 0010 lea.l A7, [A7 + 0x10]
00001A94 42A7 clr.l -[A7]
00001A96 3F3C 0101 move.w -[A7], 0x101
00001A9A A9B9 syscall GetCursor
00001A9C 205F movea.l A0, [A7]+
00001A9E 2D48 FFFC move.l [A6 - 0x4], A0
00001AA2 3F3C 0001 move.w -[A7], 0x1
00001AA6 3F3C 00C2 move.w -[A7], 0xC2
00001AAA 3F3C 000D move.w -[A7], 0xD /* '\r' */
00001AAE 3F3C 0010 move.w -[A7], 0x10
00001AB2 3F3C 0010 move.w -[A7], 0x10
00001AB6 3F3C 0002 move.w -[A7], 0x2
00001ABA 206E FFFC movea.l A0, [A6 - 0x4]
00001ABE 2F10 move.l -[A7], [A0]
00001AC0 4EBA 04A0 jsr [PC + 0x4A0 /* 00001F62 */]
00001AC4 4FEF 0010 lea.l A7, [A7 + 0x10]
00001AC8 3E3C 00D3 move.w D7, 0xD3
00001ACC 602C bra +0x2E /* 00001AFA */
label00001ACE:
00001ACE 4267 clr.w -[A7]
00001AD0 3F07 move.w -[A7], D7
00001AD2 A893 syscall MoveTo
00001AD4 3F3C 001F move.w -[A7], 0x1F
00001AD8 3F07 move.w -[A7], D7
00001ADA A891 syscall LineTo
00001ADC 3F3C 0004 move.w -[A7], 0x4
00001AE0 3007 move.w D0, D7
00001AE2 5C40 addq.w D0, 6
00001AE4 3F00 move.w -[A7], D0
00001AE6 A893 syscall MoveTo
00001AE8 3F3C 001C move.w -[A7], 0x1C
00001AEC 3007 move.w D0, D7
00001AEE 0640 0012 addi.w D0, 0x12
00001AF2 3F00 move.w -[A7], D0
00001AF4 A891 syscall LineTo
00001AF6 0647 0018 addi.w D7, 0x18
label00001AFA:
00001AFA 0C47 0104 cmpi.w D7, 0x104
00001AFE 6DCE blt -0x30 /* 00001ACE */
00001B00 4267 clr.w -[A7]
00001B02 3F3C 011C move.w -[A7], 0x11C
00001B06 A893 syscall MoveTo
00001B08 3F3C 001F move.w -[A7], 0x1F
00001B0C 3F3C 011C move.w -[A7], 0x11C
00001B10 A891 syscall LineTo
00001B12 4267 clr.w -[A7]
00001B14 3F3C 00F3 move.w -[A7], 0xF3
00001B18 3F3C 000B move.w -[A7], 0xB
00001B1C 3F3C 000B move.w -[A7], 0xB
00001B20 3F3C 000B move.w -[A7], 0xB
00001B24 3F3C 0002 move.w -[A7], 0x2
00001B28 486D FF96 pea.l [A5 - 0x6A]
00001B2C 4EBA 0434 jsr [PC + 0x434 /* 00001F62 */]
00001B30 4FEF 0010 lea.l A7, [A7 + 0x10]
00001B34 4267 clr.w -[A7]
00001B36 3F3C 010B move.w -[A7], 0x10B
00001B3A 3F3C 000B move.w -[A7], 0xB
00001B3E 3F3C 000B move.w -[A7], 0xB
00001B42 3F3C 000B move.w -[A7], 0xB
00001B46 3F3C 0002 move.w -[A7], 0x2
00001B4A 486D FFAE pea.l [A5 - 0x52]
00001B4E 4EBA 0412 jsr [PC + 0x412 /* 00001F62 */]
00001B52 4FEF 0010 lea.l A7, [A7 + 0x10]
00001B56 3F2D FEA4 move.w -[A7], [A5 - 0x15C]
00001B5A 4EBA 0012 jsr [PC + 0x12 /* 00001B6E */]
00001B5E 548F addq.l A7, 2
00001B60 2E1F move.l D7, [A7]+
00001B62 4E5E unlink A6
00001B64 4E75 rts
00001B66 4452 neg.w [A2]
00001B68 4157 chk.w D0, [A7]
00001B6A 4943 chk.w D4, D3
00001B6C 4F4E chk.w D7, A6
fn00001B6E:
00001B6E 4E56 FFF8 link A6, -0x0008
00001B72 2F07 move.l -[A7], D7
00001B74 0C6E 0004 0008 cmpi.w [A6 + 0x8], 0x4
00001B7A 6C28 bge +0x2A /* 00001BA4 */
00001B7C 302E 0008 move.w D0, [A6 + 0x8]
00001B80 EB40 asl D0.w, 5
00001B82 3E00 move.w D7, D0
00001B84 426E FFFA clr.w [A6 - 0x6]
00001B88 3D47 FFF8 move.w [A6 - 0x8], D7
00001B8C 701F moveq.l D0, 0x1F
00001B8E 3D40 FFFE move.w [A6 - 0x2], D0
00001B92 3007 move.w D0, D7
00001B94 0640 001F addi.w D0, 0x1F
00001B98 3D40 FFFC move.w [A6 - 0x4], D0
00001B9C 486E FFF8 pea.l [A6 - 0x8]
00001BA0 A8A4 syscall InvertRect
00001BA2 602C bra +0x2E /* 00001BD0 */
label00001BA4:
00001BA4 302D FEA6 move.w D0, [A5 - 0x15A]
00001BA8 C1FC 0018 muls.w D0, 0x18
00001BAC 0640 00D4 addi.w D0, 0xD4
00001BB0 3E00 move.w D7, D0
00001BB2 426E FFFA clr.w [A6 - 0x6]
00001BB6 3D47 FFF8 move.w [A6 - 0x8], D7
00001BBA 701F moveq.l D0, 0x1F
00001BBC 3D40 FFFE move.w [A6 - 0x2], D0
00001BC0 3007 move.w D0, D7
00001BC2 0640 0017 addi.w D0, 0x17
00001BC6 3D40 FFFC move.w [A6 - 0x4], D0
00001BCA 486E FFF8 pea.l [A6 - 0x8]
00001BCE A8A4 syscall InvertRect
label00001BD0:
00001BD0 2E1F move.l D7, [A7]+
00001BD2 4E5E unlink A6
00001BD4 4E75 rts
00001BD6 5345 subq.w D5, 1
00001BD8 4C45 4354 movem.l D2,D4,D6,A0,A1,A6, D5
00001BDC 4D4F chk.w D6, A7
fn00001BDE:
00001BDE 4E56 0000 link A6, 0
00001BE2 4A6E 0008 tst.w [A6 + 0x8]
00001BE6 6716 beq +0x18 /* 00001BFE */
00001BE8 302E 0008 move.w D0, [A6 + 0x8]
00001BEC 48C0 ext.l D0
00001BEE E580 asl D0, 2
00001BF0 41ED FEAC lea.l A0, [A5 - 0x154]
00001BF4 D1C0 add.l A0, D0
00001BF6 2050 movea.l A0, [A0]
00001BF8 2F10 move.l -[A7], [A0]
00001BFA A851 syscall SetCursor
00001BFC 6002 bra +0x4 /* 00001C00 */
label00001BFE:
00001BFE A850 syscall InitCursor
label00001C00:
00001C00 4E5E unlink A6
00001C02 4E75 rts
00001C04 444F neg.w A7
00001C06 4355 chk.w D1, [A5]
00001C08 5253 addq.w [A3], 1
00001C0A 4F52 chk.w D7, [A2]
fn00001C0C:
00001C0C 4E56 FFF4 link A6, -0x000C
00001C10 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001C14 2F2D FEC8 move.l -[A7], [A5 - 0x138]
00001C18 A873 syscall SetPort
00001C1A 486D FED4 pea.l [A5 - 0x12C]
00001C1E A8A3 syscall EraseRect
00001C20 486D FF76 pea.l [A5 - 0x8A]
00001C24 A89D syscall PenPat
00001C26 302D F452 move.w D0, [A5 - 0xBAE]
00001C2A 906D DB40 sub.w D0, [A5 - 0x24C0]
00001C2E 3F00 move.w -[A7], D0
00001C30 4267 clr.w -[A7]
00001C32 A893 syscall MoveTo
00001C34 302D F452 move.w D0, [A5 - 0xBAE]
00001C38 906D DB40 sub.w D0, [A5 - 0x24C0]
00001C3C 3F00 move.w -[A7], D0
00001C3E 3F3C 0190 move.w -[A7], 0x190
00001C42 A891 syscall LineTo
00001C44 A89E syscall PenNormal
00001C46 7E00 moveq.l D7, 0x00
00001C48 3C2D DB40 move.w D6, [A5 - 0x24C0]
00001C4C 6000 01F0 bra +0x1F2 /* 00001E3E */
label00001C50:
00001C50 3006 move.w D0, D6
00001C52 0640 020A addi.w D0, 0x20A
00001C56 3A00 move.w D5, D0
00001C58 41ED E258 lea.l A0, [A5 - 0x1DA8]
00001C5C 2848 movea.l A4, A0
00001C5E 6000 00CE bra +0xD0 /* 00001D2E */
label00001C62:
00001C62 BC6C 0006 cmp.w D6, [A4 + 0x6]
00001C66 6E00 00C2 bgt +0xC4 /* 00001D2A */
00001C6A 3014 move.w D0, [A4]
00001C6C 9046 sub.w D0, D6
00001C6E 322C 0002 move.w D1, [A4 + 0x2]
00001C72 926D DB42 sub.w D1, [A5 - 0x24BE]
00001C76 342C 0006 move.w D2, [A4 + 0x6]
00001C7A 9446 sub.w D2, D6
00001C7C 362C 0008 move.w D3, [A4 + 0x8]
00001C80 966D DB42 sub.w D3, [A5 - 0x24BE]
00001C84 3F03 move.w -[A7], D3
00001C86 3F02 move.w -[A7], D2
00001C88 3F01 move.w -[A7], D1
00001C8A 3F00 move.w -[A7], D0
00001C8C 4EBA 01C8 jsr [PC + 0x1C8 /* 00001E56 */]
00001C90 508F addq.l A7, 8
00001C92 4A6C 000E tst.w [A4 + 0xE]
00001C96 6700 0092 beq +0x94 /* 00001D2A */
00001C9A 4A6D FE98 tst.w [A5 - 0x168]
00001C9E 6700 008A beq +0x8C /* 00001D2A */
00001CA2 3014 move.w D0, [A4]
00001CA4 D06C 0006 add.w D0, [A4 + 0x6]
00001CA8 48C0 ext.l D0
00001CAA 81FC 0002 divs.w D0, 0x2
00001CAE 9046 sub.w D0, D6
00001CB0 5B40 subq.w D0, 5
00001CB2 3D40 FFFA move.w [A6 - 0x6], D0
00001CB6 302C 0002 move.w D0, [A4 + 0x2]
00001CBA D06C 0008 add.w D0, [A4 + 0x8]
00001CBE 48C0 ext.l D0
00001CC0 81FC 0002 divs.w D0, 0x2
00001CC4 906D DB42 sub.w D0, [A5 - 0x24BE]
00001CC8 5B40 subq.w D0, 5
00001CCA 3D40 FFF8 move.w [A6 - 0x8], D0
00001CCE 3F3C 0003 move.w -[A7], 0x3
00001CD2 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00001CD6 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001CDA 3F3C 000C move.w -[A7], 0xC
00001CDE 3F3C 000C move.w -[A7], 0xC
00001CE2 3F3C 0002 move.w -[A7], 0x2
00001CE6 486D FF7E pea.l [A5 - 0x82]
00001CEA 4EBA 0276 jsr [PC + 0x276 /* 00001F62 */]
00001CEE 4FEF 0010 lea.l A7, [A7 + 0x10]
00001CF2 0C6C 0001 000E cmpi.w [A4 + 0xE], 0x1
00001CF8 6608 bne +0xA /* 00001D02 */
00001CFA 41ED FF96 lea.l A0, [A5 - 0x6A]
00001CFE 2008 move.l D0, A0
00001D00 6006 bra +0x8 /* 00001D08 */
label00001D02:
00001D02 41ED FFAE lea.l A0, [A5 - 0x52]
00001D06 2008 move.l D0, A0
label00001D08:
00001D08 3F3C 0001 move.w -[A7], 0x1
00001D0C 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00001D10 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001D14 3F3C 000C move.w -[A7], 0xC
00001D18 3F3C 000C move.w -[A7], 0xC
00001D1C 3F3C 0002 move.w -[A7], 0x2
00001D20 2F00 move.l -[A7], D0
00001D22 4EBA 023E jsr [PC + 0x23E /* 00001F62 */]
00001D26 4FEF 0010 lea.l A7, [A7 + 0x10]
label00001D2A:
00001D2A 49EC 001E lea.l A4, [A4 + 0x1E]
label00001D2E:
00001D2E BA54 cmp.w D5, [A4]
00001D30 6E00 FF30 bgt -0xCE /* 00001C62 */
00001D34 41ED F0FE lea.l A0, [A5 - 0xF02]
00001D38 2648 movea.l A3, A0
00001D3A 6000 005C bra +0x5E /* 00001D98 */
label00001D3E:
00001D3E 3013 move.w D0, [A3]
00001D40 9046 sub.w D0, D6
00001D42 322B 0002 move.w D1, [A3 + 0x2]
00001D46 926D DB42 sub.w D1, [A5 - 0x24BE]
00001D4A 3F2B 0006 move.w -[A7], [A3 + 0x6]
00001D4E 3F2B 0004 move.w -[A7], [A3 + 0x4]
00001D52 3F01 move.w -[A7], D1
00001D54 3F00 move.w -[A7], D0
00001D56 4EBA 02FA jsr [PC + 0x2FA /* 00002052 */]
00001D5A 508F addq.l A7, 8
00001D5C 4A6D FE94 tst.w [A5 - 0x16C]
00001D60 6624 bne +0x26 /* 00001D86 */
00001D62 0C6D 0002 FEA0 cmpi.w [A5 - 0x160], 0x2
00001D68 662A bne +0x2C /* 00001D94 */
00001D6A 41ED F0FE lea.l A0, [A5 - 0xF02]
00001D6E 200B move.l D0, A3
00001D70 9088 sub.l D0, A0
00001D72 2F3C 0000 0014 move.l -[A7], 0x14
00001D78 2F00 move.l -[A7], D0
00001D7A 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00001D7E 306D FEA2 movea.w A0, [A5 - 0x15E]
00001D82 B1C0 cmpa.l A0, D0
00001D84 660E bne +0x10 /* 00001D94 */
label00001D86:
00001D86 3F2D DB42 move.w -[A7], [A5 - 0x24BE]
00001D8A 3F06 move.w -[A7], D6
00001D8C 2F0B move.l -[A7], A3
00001D8E 4EBA 03CE jsr [PC + 0x3CE /* 0000215E */]
00001D92 508F addq.l A7, 8
label00001D94:
00001D94 47EB 0014 lea.l A3, [A3 + 0x14]
label00001D98:
00001D98 BA53 cmp.w D5, [A3]
00001D9A 6EA2 bgt -0x5C /* 00001D3E */
00001D9C 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00001DA0 2448 movea.l A2, A0
00001DA2 601A bra +0x1C /* 00001DBE */
label00001DA4:
00001DA4 3012 move.w D0, [A2]
00001DA6 9046 sub.w D0, D6
00001DA8 322A 0002 move.w D1, [A2 + 0x2]
00001DAC 926D DB42 sub.w D1, [A5 - 0x24BE]
00001DB0 3F01 move.w -[A7], D1
00001DB2 3F00 move.w -[A7], D0
00001DB4 4EBA 025C jsr [PC + 0x25C /* 00002012 */]
00001DB8 588F addq.l A7, 4
00001DBA 45EA 000A lea.l A2, [A2 + 0xA]
label00001DBE:
00001DBE BA52 cmp.w D5, [A2]
00001DC0 6EE2 bgt -0x1C /* 00001DA4 */
00001DC2 41ED F388 lea.l A0, [A5 - 0xC78]
00001DC6 2D48 FFFC move.l [A6 - 0x4], A0
00001DCA 6022 bra +0x24 /* 00001DEE */
label00001DCC:
00001DCC 206E FFFC movea.l A0, [A6 - 0x4]
00001DD0 3010 move.w D0, [A0]
00001DD2 9046 sub.w D0, D6
00001DD4 206E FFFC movea.l A0, [A6 - 0x4]
00001DD8 3228 0002 move.w D1, [A0 + 0x2]
00001DDC 926D DB42 sub.w D1, [A5 - 0x24BE]
00001DE0 3F01 move.w -[A7], D1
00001DE2 3F00 move.w -[A7], D0
00001DE4 4EBA 01EC jsr [PC + 0x1EC /* 00001FD2 */]
00001DE8 588F addq.l A7, 4
00001DEA 58AE FFFC addq.l [A6 - 0x4], 4
label00001DEE:
00001DEE 302D F450 move.w D0, [A5 - 0xBB0]
00001DF2 48C0 ext.l D0
00001DF4 E580 asl D0, 2
00001DF6 41ED F388 lea.l A0, [A5 - 0xC78]
00001DFA D1C0 add.l A0, D0
00001DFC B1EE FFFC cmpa.l A0, [A6 - 0x4]
00001E00 62CA bhi -0x34 /* 00001DCC */
00001E02 302D F45A move.w D0, [A5 - 0xBA6]
00001E06 9046 sub.w D0, D6
00001E08 322D F45C move.w D1, [A5 - 0xBA4]
00001E0C 926D DB42 sub.w D1, [A5 - 0x24BE]
00001E10 3F3C 0001 move.w -[A7], 0x1
00001E14 0641 FFF1 addi.w D1, 0xFFF1
00001E18 3F01 move.w -[A7], D1
00001E1A 0640 FFF1 addi.w D0, 0xFFF1
00001E1E 3F00 move.w -[A7], D0
00001E20 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001E24 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001E28 3F3C 0004 move.w -[A7], 0x4
00001E2C 2F2D C854 move.l -[A7], [A5 - 0x37AC]
00001E30 4EBA 0130 jsr [PC + 0x130 /* 00001F62 */]
00001E34 4FEF 0010 lea.l A7, [A7 + 0x10]
00001E38 5247 addq.w D7, 1
00001E3A 9C6D F452 sub.w D6, [A5 - 0xBAE]
label00001E3E:
00001E3E 0C47 0002 cmpi.w D7, 0x2
00001E42 6D00 FE0C blt -0x1F2 /* 00001C50 */
00001E46 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00001E4A 4E5E unlink A6
00001E4C 4E75 rts
00001E4E 4452 neg.w [A2]
00001E50 4157 chk.w D0, [A7]
00001E52 434F chk.w D1, A7
00001E54 4E54 4E56 link A4, -0xFFFFB1AA
// begin alternate branch 00001E56-00001E5A
fn00001E56:
00001E56 4E56 FFEA link A6, -0x0016
// end alternate branch 00001E56-00001E5A
fn00001E56: // (misaligned)
00001E58 FFEA .invalid <<F/7/7>>
00001E5A 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
00001E5E 3E2E 0008 move.w D7, [A6 + 0x8]
00001E62 3C2E 000A move.w D6, [A6 + 0xA]
00001E66 3A2E 000C move.w D5, [A6 + 0xC]
00001E6A 382E 000E move.w D4, [A6 + 0xE]
00001E6E 486E FFEE pea.l [A6 - 0x12]
00001E72 A898 syscall GetPenState
00001E74 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00001E78 A89C syscall PenMode
00001E7A 486D D118 pea.l [A5 - 0x2EE8]
00001E7E A89D syscall PenPat
00001E80 3005 move.w D0, D5
00001E82 9047 sub.w D0, D7
00001E84 3206 move.w D1, D6
00001E86 9244 sub.w D1, D4
00001E88 3F01 move.w -[A7], D1
00001E8A 3D40 FFEA move.w [A6 - 0x16], D0
00001E8E 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
00001E92 548F addq.l A7, 2
00001E94 B06E FFEA cmp.w D0, [A6 - 0x16]
00001E98 5DC0 slt D0
00001E9A 4400 neg.b D0
00001E9C 4880 ext.w D0
00001E9E 3D40 FFEC move.w [A6 - 0x14], D0
00001EA2 4A6E FFEC tst.w [A6 - 0x14]
00001EA6 670C beq +0xE /* 00001EB4 */
00001EA8 3F3C 0001 move.w -[A7], 0x1
00001EAC 3F3C 0002 move.w -[A7], 0x2
00001EB0 A89B syscall PenSize
00001EB2 600A bra +0xC /* 00001EBE */
label00001EB4:
00001EB4 3F3C 0002 move.w -[A7], 0x2
00001EB8 3F3C 0001 move.w -[A7], 0x1
00001EBC A89B syscall PenSize
label00001EBE:
00001EBE 3F07 move.w -[A7], D7
00001EC0 3F06 move.w -[A7], D6
00001EC2 A893 syscall MoveTo
00001EC4 3F05 move.w -[A7], D5
00001EC6 3F04 move.w -[A7], D4
00001EC8 A891 syscall LineTo
00001ECA 4A6D FE9A tst.w [A5 - 0x166]
00001ECE 6700 007C beq +0x7E /* 00001F4C */
00001ED2 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00001ED6 3F3C 0005 move.w -[A7], 0x5
00001EDA A894 syscall Move
00001EDC 3F3C 0001 move.w -[A7], 0x1
00001EE0 3F3C 0001 move.w -[A7], 0x1
00001EE4 A89B syscall PenSize
00001EE6 4A6E FFEC tst.w [A6 - 0x14]
00001EEA 6708 beq +0xA /* 00001EF4 */
00001EEC 41ED D336 lea.l A0, [A5 - 0x2CCA]
00001EF0 2008 move.l D0, A0
00001EF2 6006 bra +0x8 /* 00001EFA */
label00001EF4:
00001EF4 41ED D32E lea.l A0, [A5 - 0x2CD2]
00001EF8 2008 move.l D0, A0
label00001EFA:
00001EFA 2F00 move.l -[A7], D0
00001EFC A89D syscall PenPat
00001EFE 3007 move.w D0, D7
00001F00 9045 sub.w D0, D5
00001F02 3206 move.w D1, D6
00001F04 9244 sub.w D1, D4
00001F06 3F00 move.w -[A7], D0
00001F08 3F01 move.w -[A7], D1
00001F0A A892 syscall Line
00001F0C 3F3C 0001 move.w -[A7], 0x1
00001F10 3F06 move.w -[A7], D6
00001F12 3F07 move.w -[A7], D7
00001F14 3F3C 0006 move.w -[A7], 0x6
00001F18 3F3C 0010 move.w -[A7], 0x10
00001F1C 3F3C 0002 move.w -[A7], 0x2
00001F20 486D D7EC pea.l [A5 - 0x2814]
00001F24 4EBA 003C jsr [PC + 0x3C /* 00001F62 */]
00001F28 4FEF 0010 lea.l A7, [A7 + 0x10]
00001F2C 3F3C 0001 move.w -[A7], 0x1
00001F30 3F04 move.w -[A7], D4
00001F32 3F05 move.w -[A7], D5
00001F34 3F3C 0006 move.w -[A7], 0x6
00001F38 3F3C 0010 move.w -[A7], 0x10
00001F3C 3F3C 0002 move.w -[A7], 0x2
00001F40 486D D7EC pea.l [A5 - 0x2814]
00001F44 4EBA 001C jsr [PC + 0x1C /* 00001F62 */]
00001F48 4FEF 0010 lea.l A7, [A7 + 0x10]
label00001F4C:
00001F4C 486E FFEE pea.l [A6 - 0x12]
00001F50 A899 syscall SetPenState
00001F52 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00001F56 4E5E unlink A6
00001F58 4E75 rts
00001F5A 4452 neg.w [A2]
00001F5C 4157 chk.w D0, [A7]
00001F5E 5741 subq.w D1, 3
00001F60 4C4C 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, A4
// begin alternate branch 00001F62-00001F66
fn00001F62:
00001F62 4E56 FFEA link A6, -0x0016
// end alternate branch 00001F62-00001F66
fn00001F62: // (misaligned)
00001F64 FFEA .invalid <<F/7/7>>
00001F66 2D6E 0008 FFF2 move.l [A6 - 0xE], [A6 + 0x8]
00001F6C 3D6E 000C FFF6 move.w [A6 - 0xA], [A6 + 0xC]
00001F72 426E FFFA clr.w [A6 - 0x6]
00001F76 426E FFF8 clr.w [A6 - 0x8]
00001F7A 3D6E 000E FFFE move.w [A6 - 0x2], [A6 + 0xE]
00001F80 3D6E 0010 FFFC move.w [A6 - 0x4], [A6 + 0x10]
00001F86 3D6E 0012 FFEC move.w [A6 - 0x14], [A6 + 0x12]
00001F8C 3D6E 0014 FFEA move.w [A6 - 0x16], [A6 + 0x14]
00001F92 302E 0012 move.w D0, [A6 + 0x12]
00001F96 D06E 000E add.w D0, [A6 + 0xE]
00001F9A 3D40 FFF0 move.w [A6 - 0x10], D0
00001F9E 302E 0014 move.w D0, [A6 + 0x14]
00001FA2 D06E 0010 add.w D0, [A6 + 0x10]
00001FA6 3D40 FFEE move.w [A6 - 0x12], D0
00001FAA 486E FFF2 pea.l [A6 - 0xE]
00001FAE 206D FEC8 movea.l A0, [A5 - 0x138]
00001FB2 4868 0002 pea.l [A0 + 0x2]
00001FB6 486E FFF8 pea.l [A6 - 0x8]
00001FBA 486E FFEA pea.l [A6 - 0x16]
00001FBE 3F2E 0016 move.w -[A7], [A6 + 0x16]
00001FC2 42A7 clr.l -[A7]
00001FC4 A8EC syscall CopyBits
00001FC6 4E5E unlink A6
00001FC8 4E75 rts
00001FCA 5846 addq.w D6, 4
00001FCC 4552 chk.w D2, [A2]
00001FCE 4249 clr.w A1
00001FD0 5453 addq.w [A3], 2
fn00001FD2:
00001FD2 4E56 0000 link A6, 0
00001FD6 3F3C 0001 move.w -[A7], 0x1
00001FDA 302E 000A move.w D0, [A6 + 0xA]
00001FDE 0640 FFF0 addi.w D0, 0xFFF0
00001FE2 3F00 move.w -[A7], D0
00001FE4 302E 0008 move.w D0, [A6 + 0x8]
00001FE8 0640 FFF0 addi.w D0, 0xFFF0
00001FEC 3F00 move.w -[A7], D0
00001FEE 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001FF2 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00001FF6 3F3C 0004 move.w -[A7], 0x4
00001FFA 486D C884 pea.l [A5 - 0x377C]
00001FFE 4EBA FF62 jsr [PC - 0x9E /* 00001F62 */]
00002002 4FEF 0010 lea.l A7, [A7 + 0x10]
00002006 4E5E unlink A6
00002008 4E75 rts
0000200A 5348 subq.w A0, 1
0000200C 4F57 chk.w D7, [A7]
0000200E 4352 chk.w D1, [A2]
00002010 4154 chk.w D0, [A4]
fn00002012:
00002012 4E56 0000 link A6, 0
00002016 3F3C 0001 move.w -[A7], 0x1
0000201A 302E 000A move.w D0, [A6 + 0xA]
0000201E 0640 FFF0 addi.w D0, 0xFFF0
00002022 3F00 move.w -[A7], D0
00002024 302E 0008 move.w D0, [A6 + 0x8]
00002028 0640 FFF0 addi.w D0, 0xFFF0
0000202C 3F00 move.w -[A7], D0
0000202E 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00002032 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00002036 3F3C 0004 move.w -[A7], 0x4
0000203A 2F2D C874 move.l -[A7], [A5 - 0x378C]
0000203E 4EBA FF22 jsr [PC - 0xDE /* 00001F62 */]
00002042 4FEF 0010 lea.l A7, [A7 + 0x10]
00002046 4E5E unlink A6
00002048 4E75 rts
0000204A 5348 subq.w A0, 1
0000204C 4F57 chk.w D7, [A7]
0000204E 4655 not.w [A5]
00002050 454C chk.w D2, A4
fn00002052:
00002052 4E56 0000 link A6, 0
00002056 0C6E 0002 000E cmpi.w [A6 + 0xE], 0x2
0000205C 6C00 0084 bge +0x86 /* 000020E2 */
00002060 0C6E 0002 000C cmpi.w [A6 + 0xC], 0x2
00002066 6D00 007A blt +0x7C /* 000020E2 */
0000206A 0C6E 000C 000C cmpi.w [A6 + 0xC], 0xC
00002070 6E70 bgt +0x72 /* 000020E2 */
00002072 302E 000E move.w D0, [A6 + 0xE]
00002076 C1FC 1200 muls.w D0, 0x1200
0000207A D0AD C868 add.l D0, [A5 - 0x3798]
0000207E 322E 000C move.w D1, [A6 + 0xC]
00002082 C3FC 0120 muls.w D1, 0x120
00002086 D081 add.l D0, D1
00002088 322E 000E move.w D1, [A6 + 0xE]
0000208C 48C1 ext.l D1
0000208E EB81 asl D1, 5
00002090 41ED CD24 lea.l A0, [A5 - 0x32DC]
00002094 D1C1 add.l A0, D1
00002096 322E 000C move.w D1, [A6 + 0xC]
0000209A 48C1 ext.l D1
0000209C D281 add.l D1, D1
0000209E D1C1 add.l A0, D1
000020A0 322E 0008 move.w D1, [A6 + 0x8]
000020A4 9250 sub.w D1, [A0]
000020A6 342E 000E move.w D2, [A6 + 0xE]
000020AA 48C2 ext.l D2
000020AC EB82 asl D2, 5
000020AE 41ED CDC4 lea.l A0, [A5 - 0x323C]
000020B2 D1C2 add.l A0, D2
000020B4 342E 000C move.w D2, [A6 + 0xC]
000020B8 48C2 ext.l D2
000020BA D482 add.l D2, D2
000020BC D1C2 add.l A0, D2
000020BE 342E 000A move.w D2, [A6 + 0xA]
000020C2 9450 sub.w D2, [A0]
000020C4 3F3C 0003 move.w -[A7], 0x3
000020C8 3F02 move.w -[A7], D2
000020CA 3F01 move.w -[A7], D1
000020CC 3F3C 0030 move.w -[A7], 0x30 /* '0' */
000020D0 3F3C 0030 move.w -[A7], 0x30 /* '0' */
000020D4 3F3C 0006 move.w -[A7], 0x6
000020D8 2F00 move.l -[A7], D0
000020DA 4EBA FE86 jsr [PC - 0x17A /* 00001F62 */]
000020DE 4FEF 0010 lea.l A7, [A7 + 0x10]
label000020E2:
000020E2 302E 000E move.w D0, [A6 + 0xE]
000020E6 C1FC 1200 muls.w D0, 0x1200
000020EA D0AD C864 add.l D0, [A5 - 0x379C]
000020EE 322E 000C move.w D1, [A6 + 0xC]
000020F2 C3FC 0120 muls.w D1, 0x120
000020F6 D081 add.l D0, D1
000020F8 322E 000E move.w D1, [A6 + 0xE]
000020FC 48C1 ext.l D1
000020FE EB81 asl D1, 5
00002100 41ED CD24 lea.l A0, [A5 - 0x32DC]
00002104 D1C1 add.l A0, D1
00002106 322E 000C move.w D1, [A6 + 0xC]
0000210A 48C1 ext.l D1
0000210C D281 add.l D1, D1
0000210E D1C1 add.l A0, D1
00002110 322E 0008 move.w D1, [A6 + 0x8]
00002114 9250 sub.w D1, [A0]
00002116 342E 000E move.w D2, [A6 + 0xE]
0000211A 48C2 ext.l D2
0000211C EB82 asl D2, 5
0000211E 41ED CDC4 lea.l A0, [A5 - 0x323C]
00002122 D1C2 add.l A0, D2
00002124 342E 000C move.w D2, [A6 + 0xC]
00002128 48C2 ext.l D2
0000212A D482 add.l D2, D2
0000212C D1C2 add.l A0, D2
0000212E 342E 000A move.w D2, [A6 + 0xA]
00002132 9450 sub.w D2, [A0]
00002134 3F3C 0001 move.w -[A7], 0x1
00002138 3F02 move.w -[A7], D2
0000213A 3F01 move.w -[A7], D1
0000213C 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002140 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002144 3F3C 0006 move.w -[A7], 0x6
00002148 2F00 move.l -[A7], D0
0000214A 4EBA FE16 jsr [PC - 0x1EA /* 00001F62 */]
0000214E 4FEF 0010 lea.l A7, [A7 + 0x10]
00002152 4E5E unlink A6
00002154 4E75 rts
00002156 5348 subq.w A0, 1
00002158 4F57 chk.w D7, [A7]
0000215A 4255 clr.w [A5]
0000215C 4E4B trap 11
fn0000215E:
0000215E 4E56 FFE2 link A6, -0x001E
00002162 48E7 0708 movem.l -[A7], D5,D6,D7,A4
00002166 286E 0008 movea.l A4, [A6 + 0x8]
0000216A 2F0C move.l -[A7], A4
0000216C 4EBA 0652 jsr [PC + 0x652 /* 000027C0 */]
00002170 588F addq.l A7, 4
00002172 4A40 tst.w D0
00002174 6700 019E beq +0x1A0 /* 00002314 */
00002178 302C 0006 move.w D0, [A4 + 0x6]
0000217C 48C0 ext.l D0
0000217E EB80 asl D0, 5
00002180 41ED CBE4 lea.l A0, [A5 - 0x341C]
00002184 D1C0 add.l A0, D0
00002186 302C 0004 move.w D0, [A4 + 0x4]
0000218A 48C0 ext.l D0
0000218C D080 add.l D0, D0
0000218E D1C0 add.l A0, D0
00002190 3014 move.w D0, [A4]
00002192 D050 add.w D0, [A0]
00002194 3A00 move.w D5, D0
00002196 302E 000C move.w D0, [A6 + 0xC]
0000219A 4440 neg.w D0
0000219C 0640 FFCE addi.w D0, 0xFFCE
000021A0 DA40 add.w D5, D0
000021A2 302C 0006 move.w D0, [A4 + 0x6]
000021A6 48C0 ext.l D0
000021A8 EB80 asl D0, 5
000021AA 41ED CC84 lea.l A0, [A5 - 0x337C]
000021AE D1C0 add.l A0, D0
000021B0 302C 0004 move.w D0, [A4 + 0x4]
000021B4 48C0 ext.l D0
000021B6 D080 add.l D0, D0
000021B8 D1C0 add.l A0, D0
000021BA 302C 0002 move.w D0, [A4 + 0x2]
000021BE D050 add.w D0, [A0]
000021C0 3C00 move.w D6, D0
000021C2 302E 000E move.w D0, [A6 + 0xE]
000021C6 4440 neg.w D0
000021C8 0640 FFCE addi.w D0, 0xFFCE
000021CC DC40 add.w D6, D0
000021CE 3D45 FFF6 move.w [A6 - 0xA], D5
000021D2 3D46 FFF4 move.w [A6 - 0xC], D6
000021D6 3005 move.w D0, D5
000021D8 0640 0064 addi.w D0, 0x64 /* 'd' */
000021DC 3D40 FFFA move.w [A6 - 0x6], D0
000021E0 3006 move.w D0, D6
000021E2 0640 0064 addi.w D0, 0x64 /* 'd' */
000021E6 3D40 FFF8 move.w [A6 - 0x8], D0
000021EA 0C46 011C cmpi.w D6, 0x11C
000021EE 6C00 00CC bge +0xCE /* 000022BC */
000021F2 0C45 01EC cmpi.w D5, 0x1EC
000021F6 6C00 00C4 bge +0xC6 /* 000022BC */
000021FA 4A6E FFFA tst.w [A6 - 0x6]
000021FE 6F00 00BC ble +0xBE /* 000022BC */
00002202 4A6E FFF8 tst.w [A6 - 0x8]
00002206 6F00 00B4 ble +0xB6 /* 000022BC */
0000220A 486E FFE2 pea.l [A6 - 0x1E]
0000220E A898 syscall GetPenState
00002210 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
00002214 A89C syscall PenMode
00002216 7E00 moveq.l D7, 0x00
00002218 6000 0094 bra +0x96 /* 000022AE */
label0000221C:
0000221C 3007 move.w D0, D7
0000221E 48C0 ext.l D0
00002220 E580 asl D0, 2
00002222 D08C add.l D0, A4
00002224 2040 movea.l A0, D0
00002226 3068 000A movea.w A0, [A0 + 0xA]
0000222A 4878 0168 push.l 0x168
0000222E 2F08 move.l -[A7], A0
00002230 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00002234 4878 0200 push.l 0x200
00002238 2F00 move.l -[A7], D0
0000223A 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
0000223E 3D40 FFFE move.w [A6 - 0x2], D0
00002242 3007 move.w D0, D7
00002244 48C0 ext.l D0
00002246 E580 asl D0, 2
00002248 D08C add.l D0, A4
0000224A 2040 movea.l A0, D0
0000224C 3068 000C movea.w A0, [A0 + 0xC]
00002250 4878 0168 push.l 0x168
00002254 2F08 move.l -[A7], A0
00002256 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000225A 4878 0200 push.l 0x200
0000225E 2F00 move.l -[A7], D0
00002260 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00002264 906E FFFE sub.w D0, [A6 - 0x2]
00002268 3D40 FFFC move.w [A6 - 0x4], D0
0000226C 486D D108 pea.l [A5 - 0x2EF8]
00002270 A89D syscall PenPat
00002272 486E FFF4 pea.l [A6 - 0xC]
00002276 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000227A 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000227E A8BF syscall PaintArc
00002280 486D D118 pea.l [A5 - 0x2EE8]
00002284 A89D syscall PenPat
00002286 486E FFF4 pea.l [A6 - 0xC]
0000228A 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000228E 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002292 A8BE syscall FrameArc
00002294 066E 000A FFF6 addi.w [A6 - 0xA], 0xA /* '\n' */
0000229A 066E 000A FFF4 addi.w [A6 - 0xC], 0xA /* '\n' */
000022A0 066E FFF6 FFFA addi.w [A6 - 0x6], 0xFFF6
000022A6 066E FFF6 FFF8 addi.w [A6 - 0x8], 0xFFF6
000022AC 5247 addq.w D7, 1
label000022AE:
000022AE 0C47 0002 cmpi.w D7, 0x2
000022B2 6D00 FF68 blt -0x96 /* 0000221C */
000022B6 486E FFE2 pea.l [A6 - 0x1E]
000022BA A899 syscall SetPenState
label000022BC:
000022BC 0C6D 0002 FEA0 cmpi.w [A5 - 0x160], 0x2
000022C2 6650 bne +0x52 /* 00002314 */
000022C4 302D FEA2 move.w D0, [A5 - 0x15E]
000022C8 C1FC 0014 muls.w D0, 0x14
000022CC 41ED F0FE lea.l A0, [A5 - 0xF02]
000022D0 D1C0 add.l A0, D0
000022D2 B9C8 cmpa.l A4, A0
000022D4 663E bne +0x40 /* 00002314 */
000022D6 7E00 moveq.l D7, 0x00
000022D8 6034 bra +0x36 /* 0000230E */
label000022DA:
000022DA 486E FFF4 pea.l [A6 - 0xC]
000022DE 3F07 move.w -[A7], D7
000022E0 2F0C move.l -[A7], A4
000022E2 4EBA 0B96 jsr [PC + 0xB96 /* 00002E7A */]
000022E6 4FEF 000A lea.l A7, [A7 + 0xA]
000022EA 302E 000C move.w D0, [A6 + 0xC]
000022EE 4440 neg.w D0
000022F0 322E 000E move.w D1, [A6 + 0xE]
000022F4 4441 neg.w D1
000022F6 486E FFF4 pea.l [A6 - 0xC]
000022FA 3F00 move.w -[A7], D0
000022FC 3F01 move.w -[A7], D1
000022FE A8A8 syscall OffsetRect
00002300 486E FFF4 pea.l [A6 - 0xC]
00002304 A8B9 syscall EraseOval
00002306 486E FFF4 pea.l [A6 - 0xC]
0000230A A8B7 syscall FrameOval
0000230C 5247 addq.w D7, 1
label0000230E:
0000230E 0C47 0004 cmpi.w D7, 0x4
00002312 6DC6 blt -0x38 /* 000022DA */
label00002314:
00002314 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
00002318 4E5E unlink A6
0000231A 4E75 rts
0000231C 5348 subq.w A0, 1
0000231E 4F57 chk.w D7, [A7]
00002320 4641 not.w D1
00002322 4E47 trap 7
export_96:
00002324 4E56 0000 link A6, 0
00002328 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000232C 2F2E 000A move.l -[A7], [A6 + 0xA]
00002330 4EBA 0016 jsr [PC + 0x16 /* 00002348 */]
00002334 5C8F addq.l A7, 6
00002336 4E5E unlink A6
00002338 205F movea.l A0, [A7]+
0000233A 4FEF 0006 lea.l A7, [A7 + 0x6]
0000233E 4ED0 jmp [A0]
00002340 5343 subq.w D3, 1
00002342 524F addq.w A7, 1
00002344 4C4C 5052 movem.l D1,D4,D6,A4,A6, A4
fn00002348:
00002348 4E56 FFDC link A6, -0x0024
0000234C 426E FFF8 clr.w [A6 - 0x8]
00002350 426E FFF6 clr.w [A6 - 0xA]
00002354 486E FFDC pea.l [A6 - 0x24]
00002358 A898 syscall GetPenState
0000235A 42A7 clr.l -[A7]
0000235C A8D8 syscall NewRgn
0000235E 205F movea.l A0, [A7]+
00002360 2D48 FFEE move.l [A6 - 0x12], A0
00002364 2F2E FFEE move.l -[A7], [A6 - 0x12]
00002368 A87A syscall GetClip
0000236A 4267 clr.w -[A7]
0000236C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002370 A960 syscall GetControlValue/GetCtlValue
00002372 301F move.w D0, [A7]+
00002374 3D40 FFFE move.w [A6 - 0x2], D0
00002378 302E 000C move.w D0, [A6 + 0xC]
0000237C 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00002380 0014 0017 ori.b [A4], 0x17
00002384 0112 btst [A2], D0
00002386 0008 000E ori.b A0, 0xE
0000238A 0014 001A ori.b [A4], 0x1A
0000238E 70E0 moveq.l D0, 0xFFFFFFE0
00002390 3D40 FFFC move.w [A6 - 0x4], D0
00002394 6016 bra +0x18 /* 000023AC */
00002396 7020 moveq.l D0, 0x20
00002398 3D40 FFFC move.w [A6 - 0x4], D0
0000239C 600E bra +0x10 /* 000023AC */
0000239E 3D7C FF06 FFFC move.w [A6 - 0x4], 0xFF06
000023A4 6006 bra +0x8 /* 000023AC */
000023A6 3D7C 00FA FFFC move.w [A6 - 0x4], 0xFA
label000023AC:
000023AC 302E FFFE move.w D0, [A6 - 0x2]
000023B0 D06E FFFC add.w D0, [A6 - 0x4]
000023B4 3D40 FFFA move.w [A6 - 0x6], D0
000023B8 2F2D FEFC move.l -[A7], [A5 - 0x104]
000023BC A879 syscall SetClip
000023BE 42A7 clr.l -[A7]
000023C0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000023C4 A95A syscall GetControlReference/GetCRefCon
000023C6 201F move.l D0, [A7]+
000023C8 0C80 0000 0001 cmpi.l D0, 0x1
000023CE 6626 bne +0x28 /* 000023F6 */
000023D0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000023D4 3F2E FFFA move.w -[A7], [A6 - 0x6]
000023D8 A963 syscall SetControlValue/SetCtlValue
000023DA 4267 clr.w -[A7]
000023DC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000023E0 A960 syscall GetControlValue/GetCtlValue
000023E2 301F move.w D0, [A7]+
000023E4 3B40 DB42 move.w [A5 - 0x24BE], D0
000023E8 302D DB42 move.w D0, [A5 - 0x24BE]
000023EC 906E FFFE sub.w D0, [A6 - 0x2]
000023F0 3D40 FFF8 move.w [A6 - 0x8], D0
000023F4 6050 bra +0x52 /* 00002446 */
label000023F6:
000023F6 4A6D F456 tst.w [A5 - 0xBAA]
000023FA 6726 beq +0x28 /* 00002422 */
000023FC 3D6E FFFC FFF6 move.w [A6 - 0xA], [A6 - 0x4]
00002402 302E FFFA move.w D0, [A6 - 0x6]
00002406 D06D F452 add.w D0, [A5 - 0xBAE]
0000240A 48C0 ext.l D0
0000240C 81ED F452 divs.w D0, [A5 - 0xBAE]
00002410 4840 swap.w D0
00002412 3B40 DB40 move.w [A5 - 0x24C0], D0
00002416 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000241A 3F2D DB40 move.w -[A7], [A5 - 0x24C0]
0000241E A963 syscall SetControlValue/SetCtlValue
00002420 6024 bra +0x26 /* 00002446 */
label00002422:
00002422 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002426 3F2E FFFA move.w -[A7], [A6 - 0x6]
0000242A A963 syscall SetControlValue/SetCtlValue
0000242C 4267 clr.w -[A7]
0000242E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002432 A960 syscall GetControlValue/GetCtlValue
00002434 301F move.w D0, [A7]+
00002436 3B40 DB40 move.w [A5 - 0x24C0], D0
0000243A 302D DB40 move.w D0, [A5 - 0x24C0]
0000243E 906E FFFE sub.w D0, [A6 - 0x2]
00002442 3D40 FFF6 move.w [A6 - 0xA], D0
label00002446:
00002446 4EBA EDAC jsr [PC - 0x1254 /* 000011F4 */]
0000244A 2F2E FFEE move.l -[A7], [A6 - 0x12]
0000244E A879 syscall SetClip
00002450 42A7 clr.l -[A7]
00002452 A8D8 syscall NewRgn
00002454 205F movea.l A0, [A7]+
00002456 2D48 FFF2 move.l [A6 - 0xE], A0
0000245A 302E FFF6 move.w D0, [A6 - 0xA]
0000245E 4440 neg.w D0
00002460 322E FFF8 move.w D1, [A6 - 0x8]
00002464 4441 neg.w D1
00002466 486D FED4 pea.l [A5 - 0x12C]
0000246A 3F00 move.w -[A7], D0
0000246C 3F01 move.w -[A7], D1
0000246E 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00002472 A8EF syscall ScrollRect
00002474 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00002478 A879 syscall SetClip
0000247A 4EBA F790 jsr [PC - 0x870 /* 00001C0C */]
0000247E 2F2E FFEE move.l -[A7], [A6 - 0x12]
00002482 A879 syscall SetClip
00002484 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00002488 A8D9 syscall DisposRgn/DisposeRgn
0000248A 2F2E FFEE move.l -[A7], [A6 - 0x12]
0000248E A8D9 syscall DisposRgn/DisposeRgn
00002490 486E FFDC pea.l [A6 - 0x24]
00002494 A899 syscall SetPenState
00002496 4E5E unlink A6
00002498 4E75 rts
0000249A 4353 chk.w D1, [A3]
0000249C 4352 chk.w D1, [A2]
0000249E 4F4C chk.w D7, A4
000024A0 4C50 4E56 movem.l D1,D2,D4,D6,A1,A2,A3,A6, [A0]
// begin alternate branch 000024A2-000024A6
fn000024A2:
000024A2 4E56 FFE0 link A6, -0x0020
// end alternate branch 000024A2-000024A6
fn000024A2: // (misaligned)
000024A4 FFE0 .invalid <<F/7/7>>
000024A6 48E7 0018 movem.l -[A7], A3,A4
000024AA 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
000024B0 486D FED4 pea.l [A5 - 0x12C]
000024B4 A928 syscall InvalRect
000024B6 302D FEA2 move.w D0, [A5 - 0x15E]
000024BA C1FC 0014 muls.w D0, 0x14
000024BE 41ED F0FE lea.l A0, [A5 - 0xF02]
000024C2 D1C0 add.l A0, D0
000024C4 2648 movea.l A3, A0
000024C6 0C6D 0002 FEA0 cmpi.w [A5 - 0x160], 0x2
000024CC 6600 01F8 bne +0x1FA /* 000026C6 */
000024D0 2F0B move.l -[A7], A3
000024D2 4EBA 02EC jsr [PC + 0x2EC /* 000027C0 */]
000024D6 588F addq.l A7, 4
000024D8 4A40 tst.w D0
000024DA 6700 01EA beq +0x1EC /* 000026C6 */
000024DE 302D FEA2 move.w D0, [A5 - 0x15E]
000024E2 C1FC 0014 muls.w D0, 0x14
000024E6 41ED F0FE lea.l A0, [A5 - 0xF02]
000024EA D1C0 add.l A0, D0
000024EC 2648 movea.l A3, A0
000024EE 426E FFEA clr.w [A6 - 0x16]
000024F2 603C bra +0x3E /* 00002530 */
label000024F4:
000024F4 486E FFEC pea.l [A6 - 0x14]
000024F8 3F2E FFEA move.w -[A7], [A6 - 0x16]
000024FC 2F0B move.l -[A7], A3
000024FE 4EBA 097A jsr [PC + 0x97A /* 00002E7A */]
00002502 4FEF 000A lea.l A7, [A7 + 0xA]
00002506 486E FFEC pea.l [A6 - 0x14]
0000250A 4EBA 1042 jsr [PC + 0x1042 /* 0000354E */]
0000250E 588F addq.l A7, 4
00002510 486E FFF0 pea.l [A6 - 0x10]
00002514 4EBA 1038 jsr [PC + 0x1038 /* 0000354E */]
00002518 588F addq.l A7, 4
0000251A 4267 clr.w -[A7]
0000251C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002520 486E FFEC pea.l [A6 - 0x14]
00002524 A8AD syscall PtInRect
00002526 101F move.b D0, [A7]+
00002528 4A00 tst.b D0
0000252A 660C bne +0xE /* 00002538 */
0000252C 526E FFEA addq.w [A6 - 0x16], 1
label00002530:
00002530 0C6E 0004 FFEA cmpi.w [A6 - 0x16], 0x4
00002536 6DBC blt -0x42 /* 000024F4 */
label00002538:
00002538 0C6E 0004 FFEA cmpi.w [A6 - 0x16], 0x4
0000253E 6C00 0186 bge +0x188 /* 000026C6 */
00002542 486D FED4 pea.l [A5 - 0x12C]
00002546 A87B syscall ClipRect
00002548 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000254C A89C syscall PenMode
0000254E 302B 0006 move.w D0, [A3 + 0x6]
00002552 48C0 ext.l D0
00002554 EB80 asl D0, 5
00002556 41ED CBE4 lea.l A0, [A5 - 0x341C]
0000255A D1C0 add.l A0, D0
0000255C 302B 0004 move.w D0, [A3 + 0x4]
00002560 48C0 ext.l D0
00002562 D080 add.l D0, D0
00002564 D1C0 add.l A0, D0
00002566 3013 move.w D0, [A3]
00002568 D050 add.w D0, [A0]
0000256A 3D40 FFFA move.w [A6 - 0x6], D0
0000256E 302B 0006 move.w D0, [A3 + 0x6]
00002572 48C0 ext.l D0
00002574 EB80 asl D0, 5
00002576 41ED CC84 lea.l A0, [A5 - 0x337C]
0000257A D1C0 add.l A0, D0
0000257C 302B 0004 move.w D0, [A3 + 0x4]
00002580 48C0 ext.l D0
00002582 D080 add.l D0, D0
00002584 D1C0 add.l A0, D0
00002586 302B 0002 move.w D0, [A3 + 0x2]
0000258A D050 add.w D0, [A0]
0000258C 3D40 FFF8 move.w [A6 - 0x8], D0
00002590 486E FFF8 pea.l [A6 - 0x8]
00002594 4EBA 0FB8 jsr [PC + 0xFB8 /* 0000354E */]
00002598 588F addq.l A7, 4
0000259A 3F2E FFFA move.w -[A7], [A6 - 0x6]
0000259E 3F2E FFF8 move.w -[A7], [A6 - 0x8]
000025A2 A893 syscall MoveTo
000025A4 3F2E FFFE move.w -[A7], [A6 - 0x2]
000025A8 3F2E FFFC move.w -[A7], [A6 - 0x4]
000025AC A891 syscall LineTo
000025AE 6046 bra +0x48 /* 000025F6 */
label000025B0:
000025B0 486E FFF4 pea.l [A6 - 0xC]
000025B4 A972 syscall GetMouse
000025B6 4267 clr.w -[A7]
000025B8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000025BC 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000025C0 A881 syscall EqualPt
000025C2 101F move.b D0, [A7]+
000025C4 4A00 tst.b D0
000025C6 662E bne +0x30 /* 000025F6 */
000025C8 3F2E FFFA move.w -[A7], [A6 - 0x6]
000025CC 3F2E FFF8 move.w -[A7], [A6 - 0x8]
000025D0 A893 syscall MoveTo
000025D2 3F2E FFFE move.w -[A7], [A6 - 0x2]
000025D6 3F2E FFFC move.w -[A7], [A6 - 0x4]
000025DA A891 syscall LineTo
000025DC 2D6E FFF4 FFFC move.l [A6 - 0x4], [A6 - 0xC]
000025E2 3F2E FFFA move.w -[A7], [A6 - 0x6]
000025E6 3F2E FFF8 move.w -[A7], [A6 - 0x8]
000025EA A893 syscall MoveTo
000025EC 3F2E FFFE move.w -[A7], [A6 - 0x2]
000025F0 3F2E FFFC move.w -[A7], [A6 - 0x4]
000025F4 A891 syscall LineTo
label000025F6:
000025F6 4267 clr.w -[A7]
000025F8 A973 syscall StillDown
000025FA 101F move.b D0, [A7]+
000025FC 4A00 tst.b D0
000025FE 66B0 bne -0x4E /* 000025B0 */
00002600 A89E syscall PenNormal
00002602 302E FFFA move.w D0, [A6 - 0x6]
00002606 0640 FFEC addi.w D0, 0xFFEC
0000260A 3D40 FFEE move.w [A6 - 0x12], D0
0000260E 302E FFF8 move.w D0, [A6 - 0x8]
00002612 0640 FFEC addi.w D0, 0xFFEC
00002616 3D40 FFEC move.w [A6 - 0x14], D0
0000261A 302E FFFA move.w D0, [A6 - 0x6]
0000261E 0640 0014 addi.w D0, 0x14
00002622 3D40 FFF2 move.w [A6 - 0xE], D0
00002626 302E FFF8 move.w D0, [A6 - 0x8]
0000262A 0640 0014 addi.w D0, 0x14
0000262E 3D40 FFF0 move.w [A6 - 0x10], D0
00002632 486E FFEC pea.l [A6 - 0x14]
00002636 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000263A 486E FFE4 pea.l [A6 - 0x1C]
0000263E A8C3 syscall PtToAngle
00002640 302E FFEA move.w D0, [A6 - 0x16]
00002644 48C0 ext.l D0
00002646 D080 add.l D0, D0
00002648 D08B add.l D0, A3
0000264A 0680 0000 000A addi.l D0, 0xA /* '\n' */
00002650 2D40 FFE0 move.l [A6 - 0x20], D0
00002654 306E FFE4 movea.w A0, [A6 - 0x1C]
00002658 4878 0200 push.l 0x200
0000265C 2F08 move.l -[A7], A0
0000265E 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00002662 4878 0168 push.l 0x168
00002666 2F00 move.l -[A7], D0
00002668 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
0000266C 206E FFE0 movea.l A0, [A6 - 0x20]
00002670 3080 move.w [A0], D0
00002672 082E 0000 FFEB btst.b [A6 - 0x15], 0x0
00002678 6704 beq +0x6 /* 0000267E */
0000267A 55AE FFE0 subq.l [A6 - 0x20], 2
label0000267E:
0000267E 206E FFE0 movea.l A0, [A6 - 0x20]
00002682 226E FFE0 movea.l A1, [A6 - 0x20]
00002686 3011 move.w D0, [A1]
00002688 B068 0002 cmp.w D0, [A0 + 0x2]
0000268C 6F0A ble +0xC /* 00002698 */
0000268E 206E FFE0 movea.l A0, [A6 - 0x20]
00002692 0668 0200 0002 addi.w [A0 + 0x2], 0x200
label00002698:
00002698 206E FFE0 movea.l A0, [A6 - 0x20]
0000269C 3028 0002 move.w D0, [A0 + 0x2]
000026A0 0640 FE00 addi.w D0, 0xFE00
000026A4 206E FFE0 movea.l A0, [A6 - 0x20]
000026A8 B050 cmp.w D0, [A0]
000026AA 6F0A ble +0xC /* 000026B6 */
000026AC 206E FFE0 movea.l A0, [A6 - 0x20]
000026B0 0668 FE00 0002 addi.w [A0 + 0x2], 0xFE00
label000026B6:
000026B6 7001 moveq.l D0, 0x01
000026B8 3B40 FE9E move.w [A5 - 0x162], D0
000026BC 2F2D FEFC move.l -[A7], [A5 - 0x104]
000026C0 A879 syscall SetClip
000026C2 6000 00EC bra +0xEE /* 000027B0 */
label000026C6:
000026C6 486E 0008 pea.l [A6 + 0x8]
000026CA 4EBA 0E4C jsr [PC + 0xE4C /* 00003518 */]
000026CE 588F addq.l A7, 4
000026D0 426D FEA0 clr.w [A5 - 0x160]
000026D4 41ED F0FE lea.l A0, [A5 - 0xF02]
000026D8 2648 movea.l A3, A0
000026DA 6000 008E bra +0x90 /* 0000276A */
label000026DE:
000026DE 302B 0006 move.w D0, [A3 + 0x6]
000026E2 48C0 ext.l D0
000026E4 EB80 asl D0, 5
000026E6 41ED CBE4 lea.l A0, [A5 - 0x341C]
000026EA D1C0 add.l A0, D0
000026EC 302B 0004 move.w D0, [A3 + 0x4]
000026F0 48C0 ext.l D0
000026F2 D080 add.l D0, D0
000026F4 D1C0 add.l A0, D0
000026F6 3050 movea.w A0, [A0]
000026F8 2008 move.l D0, A0
000026FA 81FC 0002 divs.w D0, 0x2
000026FE D053 add.w D0, [A3]
00002700 322B 0006 move.w D1, [A3 + 0x6]
00002704 48C1 ext.l D1
00002706 EB81 asl D1, 5
00002708 41ED CC84 lea.l A0, [A5 - 0x337C]
0000270C D1C1 add.l A0, D1
0000270E 322B 0004 move.w D1, [A3 + 0x4]
00002712 48C1 ext.l D1
00002714 D281 add.l D1, D1
00002716 D1C1 add.l A0, D1
00002718 3050 movea.w A0, [A0]
0000271A 2208 move.l D1, A0
0000271C 83FC 0002 divs.w D1, 0x2
00002720 D26B 0002 add.w D1, [A3 + 0x2]
00002724 3F01 move.w -[A7], D1
00002726 3F00 move.w -[A7], D0
00002728 486E 0008 pea.l [A6 + 0x8]
0000272C 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00002730 508F addq.l A7, 8
00002732 0C80 0000 0096 cmpi.l D0, 0x96
00002738 6C2C bge +0x2E /* 00002766 */
0000273A 4A6D FEAA tst.w [A5 - 0x156]
0000273E 6712 beq +0x14 /* 00002752 */
00002740 0C6B 0004 0006 cmpi.w [A3 + 0x6], 0x4
00002746 660A bne +0xC /* 00002752 */
00002748 2F0B move.l -[A7], A3
0000274A 4EBA 00B2 jsr [PC + 0xB2 /* 000027FE */]
0000274E 588F addq.l A7, 4
00002750 600C bra +0xE /* 0000275E */
label00002752:
00002752 486E FFFC pea.l [A6 - 0x4]
00002756 2F0B move.l -[A7], A3
00002758 4EBA 055A jsr [PC + 0x55A /* 00002CB4 */]
0000275C 508F addq.l A7, 8
label0000275E:
0000275E 7001 moveq.l D0, 0x01
00002760 3B40 FE9E move.w [A5 - 0x162], D0
00002764 604A bra +0x4C /* 000027B0 */
label00002766:
00002766 47EB 0014 lea.l A3, [A3 + 0x14]
label0000276A:
0000276A 4A6B 0004 tst.w [A3 + 0x4]
0000276E 6C00 FF6E bge -0x90 /* 000026DE */
00002772 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00002776 2848 movea.l A4, A0
00002778 6030 bra +0x32 /* 000027AA */
label0000277A:
0000277A 3F2C 0002 move.w -[A7], [A4 + 0x2]
0000277E 3F14 move.w -[A7], [A4]
00002780 486E 0008 pea.l [A6 + 0x8]
00002784 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00002788 508F addq.l A7, 8
0000278A 0C80 0000 0096 cmpi.l D0, 0x96
00002790 6C14 bge +0x16 /* 000027A6 */
00002792 486E FFFC pea.l [A6 - 0x4]
00002796 2F0C move.l -[A7], A4
00002798 4EBA 03D2 jsr [PC + 0x3D2 /* 00002B6C */]
0000279C 508F addq.l A7, 8
0000279E 7001 moveq.l D0, 0x01
000027A0 3B40 FE9E move.w [A5 - 0x162], D0
000027A4 600A bra +0xC /* 000027B0 */
label000027A6:
000027A6 49EC 000A lea.l A4, [A4 + 0xA]
label000027AA:
000027AA 0C54 2710 cmpi.w [A4], 0x2710
000027AE 6DCA blt -0x34 /* 0000277A */
label000027B0:
000027B0 4CDF 1800 movem.l A3,A4, [A7]+
000027B4 4E5E unlink A6
000027B6 4E75 rts
000027B8 4152 chk.w D0, [A2]
000027BA 524F addq.w A7, 1
000027BC 5753 subq.w [A3], 3
000027BE 5455 addq.w [A5], 2
fn000027C0:
000027C0 4E56 0000 link A6, 0
000027C4 2F0C move.l -[A7], A4
000027C6 286E 0008 movea.l A4, [A6 + 0x8]
000027CA 4A6C 0006 tst.w [A4 + 0x6]
000027CE 671E beq +0x20 /* 000027EE */
000027D0 0C6C 0002 0006 cmpi.w [A4 + 0x6], 0x2
000027D6 6716 beq +0x18 /* 000027EE */
000027D8 0C6C 0001 0006 cmpi.w [A4 + 0x6], 0x1
000027DE 660A bne +0xC /* 000027EA */
000027E0 7003 moveq.l D0, 0x03
000027E2 C06C 0004 and.w D0, [A4 + 0x4]
000027E6 4A40 tst.w D0
000027E8 6604 bne +0x6 /* 000027EE */
label000027EA:
000027EA 7000 moveq.l D0, 0x00
000027EC 6002 bra +0x4 /* 000027F0 */
label000027EE:
000027EE 7001 moveq.l D0, 0x01
label000027F0:
000027F0 285F movea.l A4, [A7]+
000027F2 4E5E unlink A6
000027F4 4E75 rts
000027F6 4841 swap.w D1
000027F8 5346 subq.w D6, 1
000027FA 4952 chk.w D4, [A2]
000027FC 4541 chk.w D2, D1
fn000027FE:
000027FE 4E56 FFFA link A6, -0x0006
00002802 48E7 0018 movem.l -[A7], A3,A4
00002806 286E 0008 movea.l A4, [A6 + 0x8]
0000280A 3D6C 000A FFFA move.w [A6 - 0x6], [A4 + 0xA]
00002810 42A7 clr.l -[A7]
00002812 3F3C 000D move.w -[A7], 0xD /* '\r' */
00002816 42A7 clr.l -[A7]
00002818 4878 FFFF push.l 0xFFFF
0000281C A97C syscall GetNewDialog
0000281E 205F movea.l A0, [A7]+
00002820 2648 movea.l A3, A0
00002822 2F0B move.l -[A7], A3
00002824 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
00002828 588F addq.l A7, 4
0000282A 3F2E FFFA move.w -[A7], [A6 - 0x6]
0000282E 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
00002832 548F addq.l A7, 2
00002834 3F00 move.w -[A7], D0
00002836 3F3C 0003 move.w -[A7], 0x3
0000283A 2F0B move.l -[A7], A3
0000283C 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
00002840 508F addq.l A7, 8
00002842 2F0B move.l -[A7], A3
00002844 3F3C 0003 move.w -[A7], 0x3
00002848 4267 clr.w -[A7]
0000284A 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
0000284E A97E syscall SelectDialogItemText/SelIText
00002850 4A6E FFFA tst.w [A6 - 0x6]
00002854 5CC0 sge D0
00002856 4400 neg.b D0
00002858 4880 ext.w D0
0000285A 3F00 move.w -[A7], D0
0000285C 3F3C 0004 move.w -[A7], 0x4
00002860 2F0B move.l -[A7], A3
00002862 4EBA F05C jsr [PC - 0xFA4 /* 000018C0 */]
00002866 508F addq.l A7, 8
00002868 4A6E FFFA tst.w [A6 - 0x6]
0000286C 5DC0 slt D0
0000286E 4400 neg.b D0
00002870 4880 ext.w D0
00002872 3F00 move.w -[A7], D0
00002874 3F3C 0005 move.w -[A7], 0x5
00002878 2F0B move.l -[A7], A3
0000287A 4EBA F044 jsr [PC - 0xFBC /* 000018C0 */]
0000287E 508F addq.l A7, 8
label00002880:
00002880 486D 01F2 pea.l [A5 + 0x1F2 /* export_58 */]
00002884 486E FFFE pea.l [A6 - 0x2]
00002888 A991 syscall ModalDialog
0000288A 0C6E 0004 FFFE cmpi.w [A6 - 0x2], 0x4
00002890 6D34 blt +0x36 /* 000028C6 */
00002892 0C6E 0004 FFFE cmpi.w [A6 - 0x2], 0x4
00002898 57C0 seq D0
0000289A 4400 neg.b D0
0000289C 4880 ext.w D0
0000289E 3F00 move.w -[A7], D0
000028A0 3F3C 0004 move.w -[A7], 0x4
000028A4 2F0B move.l -[A7], A3
000028A6 4EBA F018 jsr [PC - 0xFE8 /* 000018C0 */]
000028AA 508F addq.l A7, 8
000028AC 0C6E 0005 FFFE cmpi.w [A6 - 0x2], 0x5
000028B2 57C0 seq D0
000028B4 4400 neg.b D0
000028B6 4880 ext.w D0
000028B8 3F00 move.w -[A7], D0
000028BA 3F3C 0005 move.w -[A7], 0x5
000028BE 2F0B move.l -[A7], A3
000028C0 4EBA EFFE jsr [PC - 0x1002 /* 000018C0 */]
000028C4 508F addq.l A7, 8
label000028C6:
000028C6 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
000028CC 66B2 bne -0x4C /* 00002880 */
000028CE 7001 moveq.l D0, 0x01
000028D0 3D40 FFFC move.w [A6 - 0x4], D0
000028D4 486E FFFC pea.l [A6 - 0x4]
000028D8 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
000028DC 4267 clr.w -[A7]
000028DE 3F3C 0003 move.w -[A7], 0x3
000028E2 2F0B move.l -[A7], A3
000028E4 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
000028E8 4FEF 000E lea.l A7, [A7 + 0xE]
000028EC 3D40 FFFA move.w [A6 - 0x6], D0
000028F0 4A6E FFFC tst.w [A6 - 0x4]
000028F4 6606 bne +0x8 /* 000028FC */
000028F6 3F3C 000A move.w -[A7], 0xA /* '\n' */
000028FA A9C8 syscall SysBeep
label000028FC:
000028FC 4A6E FFFC tst.w [A6 - 0x4]
00002900 6700 FF7E beq -0x80 /* 00002880 */
00002904 3F3C 0004 move.w -[A7], 0x4
00002908 2F0B move.l -[A7], A3
0000290A 4EBA EFE4 jsr [PC - 0x101C /* 000018F0 */]
0000290E 5C8F addq.l A7, 6
00002910 4A40 tst.w D0
00002912 6708 beq +0xA /* 0000291C */
00002914 306E FFFA movea.w A0, [A6 - 0x6]
00002918 2008 move.l D0, A0
0000291A 6006 bra +0x8 /* 00002922 */
label0000291C:
0000291C 302E FFFA move.w D0, [A6 - 0x6]
00002920 4440 neg.w D0
label00002922:
00002922 3940 000A move.w [A4 + 0xA], D0
00002926 2F0B move.l -[A7], A3
00002928 A983 syscall DisposeDialog
0000292A 4CDF 1800 movem.l A3,A4, [A7]+
0000292E 4E5E unlink A6
00002930 4E75 rts
00002932 5345 subq.w D5, 1
00002934 5441 addq.w D1, 2
00002936 5454 addq.w [A4], 2
00002938 5241 addq.w D1, 1
fn0000293A:
0000293A 4E56 0000 link A6, 0
0000293E 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002942 286E 0008 movea.l A4, [A6 + 0x8]
00002946 266E 000C movea.l A3, [A6 + 0xC]
0000294A 3E2E 0010 move.w D7, [A6 + 0x10]
0000294E 600E bra +0x10 /* 0000295E */
label00002950:
00002950 1C14 move.b D6, [A4]
00002952 41D4 lea.l A0, [A4]
00002954 528C addq.l A4, 1
00002956 1093 move.b [A0], [A3]
00002958 41D3 lea.l A0, [A3]
0000295A 528B addq.l A3, 1
0000295C 1086 move.b [A0], D6
label0000295E:
0000295E 5347 subq.w D7, 1
00002960 4A47 tst.w D7
00002962 6CEC bge -0x12 /* 00002950 */
00002964 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00002968 4E5E unlink A6
0000296A 4E75 rts
0000296C 5357 subq.w [A7], 1
0000296E 4150 chk.w D0, [A0]
00002970 4D45 chk.w D6, D5
00002972 4D20 .invalid 6, -[A0] // invalid opcode 4 with b == 4
fn00002974:
00002974 4E56 FFF4 link A6, -0x000C
00002978 48E7 1008 movem.l -[A7], D3,A4
0000297C 286E 000A movea.l A4, [A6 + 0xA]
00002980 302C 0002 move.w D0, [A4 + 0x2]
00002984 5340 subq.w D0, 1
00002986 3D40 FFFA move.w [A6 - 0x6], D0
0000298A 3014 move.w D0, [A4]
0000298C 5340 subq.w D0, 1
0000298E 3D40 FFF8 move.w [A6 - 0x8], D0
00002992 302C 0002 move.w D0, [A4 + 0x2]
00002996 5440 addq.w D0, 2
00002998 3D40 FFFE move.w [A6 - 0x2], D0
0000299C 3014 move.w D0, [A4]
0000299E 5440 addq.w D0, 2
000029A0 3D40 FFFC move.w [A6 - 0x4], D0
000029A4 601A bra +0x1C /* 000029C0 */
label000029A6:
000029A6 486E FFF4 pea.l [A6 - 0xC]
000029AA A972 syscall GetMouse
000029AC 4267 clr.w -[A7]
000029AE 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000029B2 486E FFF8 pea.l [A6 - 0x8]
000029B6 A8AD syscall PtInRect
000029B8 101F move.b D0, [A7]+
000029BA 4A00 tst.b D0
000029BC 6700 0192 beq +0x194 /* 00002B50 */
label000029C0:
000029C0 4267 clr.w -[A7]
000029C2 A973 syscall StillDown
000029C4 101F move.b D0, [A7]+
000029C6 4A00 tst.b D0
000029C8 66DC bne -0x22 /* 000029A6 */
000029CA 6000 0184 bra +0x186 /* 00002B50 */
label000029CE:
000029CE 2D54 FFF4 move.l [A6 - 0xC], [A4]
000029D2 2F0C move.l -[A7], A4
000029D4 A972 syscall GetMouse
000029D6 302C 0002 move.w D0, [A4 + 0x2]
000029DA B06E FFF6 cmp.w D0, [A6 - 0xA]
000029DE 660A bne +0xC /* 000029EA */
000029E0 3014 move.w D0, [A4]
000029E2 B06E FFF4 cmp.w D0, [A6 - 0xC]
000029E6 6700 0168 beq +0x16A /* 00002B50 */
label000029EA:
000029EA 4A6E 0012 tst.w [A6 + 0x12]
000029EE 6700 00F2 beq +0xF4 /* 00002AE2 */
000029F2 302E 0014 move.w D0, [A6 + 0x14]
000029F6 C1FC 1200 muls.w D0, 0x1200
000029FA D0AD C864 add.l D0, [A5 - 0x379C]
000029FE 322E 0008 move.w D1, [A6 + 0x8]
00002A02 C3FC 0120 muls.w D1, 0x120
00002A06 D081 add.l D0, D1
00002A08 322E FFF6 move.w D1, [A6 - 0xA]
00002A0C 926E 000E sub.w D1, [A6 + 0xE]
00002A10 342E 0014 move.w D2, [A6 + 0x14]
00002A14 48C2 ext.l D2
00002A16 EB82 asl D2, 5
00002A18 41ED CD24 lea.l A0, [A5 - 0x32DC]
00002A1C D1C2 add.l A0, D2
00002A1E 342E 0008 move.w D2, [A6 + 0x8]
00002A22 48C2 ext.l D2
00002A24 D482 add.l D2, D2
00002A26 D1C2 add.l A0, D2
00002A28 9250 sub.w D1, [A0]
00002A2A 342E FFF4 move.w D2, [A6 - 0xC]
00002A2E 946E 0010 sub.w D2, [A6 + 0x10]
00002A32 362E 0014 move.w D3, [A6 + 0x14]
00002A36 48C3 ext.l D3
00002A38 EB83 asl D3, 5
00002A3A 41ED CDC4 lea.l A0, [A5 - 0x323C]
00002A3E D1C3 add.l A0, D3
00002A40 362E 0008 move.w D3, [A6 + 0x8]
00002A44 48C3 ext.l D3
00002A46 D683 add.l D3, D3
00002A48 D1C3 add.l A0, D3
00002A4A 9450 sub.w D2, [A0]
00002A4C 3F3C 0002 move.w -[A7], 0x2
00002A50 3F02 move.w -[A7], D2
00002A52 3F01 move.w -[A7], D1
00002A54 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002A58 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002A5C 3F3C 0006 move.w -[A7], 0x6
00002A60 2F00 move.l -[A7], D0
00002A62 4EBA F4FE jsr [PC - 0xB02 /* 00001F62 */]
00002A66 4FEF 0010 lea.l A7, [A7 + 0x10]
00002A6A 302E 0014 move.w D0, [A6 + 0x14]
00002A6E C1FC 1200 muls.w D0, 0x1200
00002A72 D0AD C864 add.l D0, [A5 - 0x379C]
00002A76 322E 0008 move.w D1, [A6 + 0x8]
00002A7A C3FC 0120 muls.w D1, 0x120
00002A7E D081 add.l D0, D1
00002A80 322C 0002 move.w D1, [A4 + 0x2]
00002A84 926E 000E sub.w D1, [A6 + 0xE]
00002A88 342E 0014 move.w D2, [A6 + 0x14]
00002A8C 48C2 ext.l D2
00002A8E EB82 asl D2, 5
00002A90 41ED CD24 lea.l A0, [A5 - 0x32DC]
00002A94 D1C2 add.l A0, D2
00002A96 342E 0008 move.w D2, [A6 + 0x8]
00002A9A 48C2 ext.l D2
00002A9C D482 add.l D2, D2
00002A9E D1C2 add.l A0, D2
00002AA0 9250 sub.w D1, [A0]
00002AA2 3414 move.w D2, [A4]
00002AA4 946E 0010 sub.w D2, [A6 + 0x10]
00002AA8 362E 0014 move.w D3, [A6 + 0x14]
00002AAC 48C3 ext.l D3
00002AAE EB83 asl D3, 5
00002AB0 41ED CDC4 lea.l A0, [A5 - 0x323C]
00002AB4 D1C3 add.l A0, D3
00002AB6 362E 0008 move.w D3, [A6 + 0x8]
00002ABA 48C3 ext.l D3
00002ABC D683 add.l D3, D3
00002ABE D1C3 add.l A0, D3
00002AC0 9450 sub.w D2, [A0]
00002AC2 3F3C 0002 move.w -[A7], 0x2
00002AC6 3F02 move.w -[A7], D2
00002AC8 3F01 move.w -[A7], D1
00002ACA 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002ACE 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002AD2 3F3C 0006 move.w -[A7], 0x6
00002AD6 2F00 move.l -[A7], D0
00002AD8 4EBA F488 jsr [PC - 0xB78 /* 00001F62 */]
00002ADC 4FEF 0010 lea.l A7, [A7 + 0x10]
00002AE0 606E bra +0x70 /* 00002B50 */
label00002AE2:
00002AE2 302E FFF6 move.w D0, [A6 - 0xA]
00002AE6 906E 000E sub.w D0, [A6 + 0xE]
00002AEA 322E FFF4 move.w D1, [A6 - 0xC]
00002AEE 926E 0010 sub.w D1, [A6 + 0x10]
00002AF2 3F3C 0002 move.w -[A7], 0x2
00002AF6 0641 FFF0 addi.w D1, 0xFFF0
00002AFA 3F01 move.w -[A7], D1
00002AFC 0640 FFF0 addi.w D0, 0xFFF0
00002B00 3F00 move.w -[A7], D0
00002B02 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00002B06 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00002B0A 3F3C 0004 move.w -[A7], 0x4
00002B0E 2F2D C874 move.l -[A7], [A5 - 0x378C]
00002B12 4EBA F44E jsr [PC - 0xBB2 /* 00001F62 */]
00002B16 4FEF 0010 lea.l A7, [A7 + 0x10]
00002B1A 302C 0002 move.w D0, [A4 + 0x2]
00002B1E 906E 000E sub.w D0, [A6 + 0xE]
00002B22 3214 move.w D1, [A4]
00002B24 926E 0010 sub.w D1, [A6 + 0x10]
00002B28 3F3C 0002 move.w -[A7], 0x2
00002B2C 0641 FFF0 addi.w D1, 0xFFF0
00002B30 3F01 move.w -[A7], D1
00002B32 0640 FFF0 addi.w D0, 0xFFF0
00002B36 3F00 move.w -[A7], D0
00002B38 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00002B3C 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00002B40 3F3C 0004 move.w -[A7], 0x4
00002B44 2F2D C874 move.l -[A7], [A5 - 0x378C]
00002B48 4EBA F418 jsr [PC - 0xBE8 /* 00001F62 */]
00002B4C 4FEF 0010 lea.l A7, [A7 + 0x10]
label00002B50:
00002B50 4267 clr.w -[A7]
00002B52 A973 syscall StillDown
00002B54 101F move.b D0, [A7]+
00002B56 4A00 tst.b D0
00002B58 6600 FE74 bne -0x18A /* 000029CE */
00002B5C 4CDF 1008 movem.l D3,A4, [A7]+
00002B60 4E5E unlink A6
00002B62 4E75 rts
00002B64 4452 neg.w [A2]
00002B66 4147 chk.w D0, D7
00002B68 4F42 chk.w D7, D2
00002B6A 4A45 tst.w D5
fn00002B6C:
00002B6C 4E56 FFF8 link A6, -0x0008
00002B70 48E7 0018 movem.l -[A7], A3,A4
00002B74 286E 0008 movea.l A4, [A6 + 0x8]
00002B78 266E 000C movea.l A3, [A6 + 0xC]
00002B7C 486D FED4 pea.l [A5 - 0x12C]
00002B80 A87B syscall ClipRect
00002B82 2D53 FFF8 move.l [A6 - 0x8], [A3]
00002B86 2F0B move.l -[A7], A3
00002B88 4EBA 098E jsr [PC + 0x98E /* 00003518 */]
00002B8C 588F addq.l A7, 4
00002B8E 302B 0002 move.w D0, [A3 + 0x2]
00002B92 9054 sub.w D0, [A4]
00002B94 3D40 FFFE move.w [A6 - 0x2], D0
00002B98 3013 move.w D0, [A3]
00002B9A 906C 0002 sub.w D0, [A4 + 0x2]
00002B9E 3D40 FFFC move.w [A6 - 0x4], D0
00002BA2 4267 clr.w -[A7]
00002BA4 4267 clr.w -[A7]
00002BA6 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002BAA 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002BAE 486E FFF8 pea.l [A6 - 0x8]
00002BB2 4267 clr.w -[A7]
00002BB4 4EBA FDBE jsr [PC - 0x242 /* 00002974 */]
00002BB8 4FEF 000E lea.l A7, [A7 + 0xE]
00002BBC 2F2D FEFC move.l -[A7], [A5 - 0x104]
00002BC0 A879 syscall SetClip
00002BC2 4267 clr.w -[A7]
00002BC4 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002BC8 486D FED4 pea.l [A5 - 0x12C]
00002BCC A8AD syscall PtInRect
00002BCE 101F move.b D0, [A7]+
00002BD0 4A00 tst.b D0
00002BD2 6700 00D0 beq +0xD2 /* 00002CA4 */
00002BD6 486E FFF8 pea.l [A6 - 0x8]
00002BDA 4EBA 093C jsr [PC + 0x93C /* 00003518 */]
00002BDE 588F addq.l A7, 4
00002BE0 302E FFFA move.w D0, [A6 - 0x6]
00002BE4 906E FFFE sub.w D0, [A6 - 0x2]
00002BE8 3880 move.w [A4], D0
00002BEA 0C54 0014 cmpi.w [A4], 0x14
00002BEE 6C04 bge +0x6 /* 00002BF4 */
00002BF0 7014 moveq.l D0, 0x14
00002BF2 3880 move.w [A4], D0
label00002BF4:
00002BF4 302D F452 move.w D0, [A5 - 0xBAE]
00002BF8 0640 FFEC addi.w D0, 0xFFEC
00002BFC B054 cmp.w D0, [A4]
00002BFE 6C0A bge +0xC /* 00002C0A */
00002C00 302D F452 move.w D0, [A5 - 0xBAE]
00002C04 0640 FFEC addi.w D0, 0xFFEC
00002C08 3880 move.w [A4], D0
label00002C0A:
00002C0A 302E FFF8 move.w D0, [A6 - 0x8]
00002C0E 906E FFFC sub.w D0, [A6 - 0x4]
00002C12 3940 0002 move.w [A4 + 0x2], D0
00002C16 0C6C 0014 0002 cmpi.w [A4 + 0x2], 0x14
00002C1C 6C06 bge +0x8 /* 00002C24 */
00002C1E 7014 moveq.l D0, 0x14
00002C20 3940 0002 move.w [A4 + 0x2], D0
label00002C24:
00002C24 302D F454 move.w D0, [A5 - 0xBAC]
00002C28 0640 FFEC addi.w D0, 0xFFEC
00002C2C B06C 0002 cmp.w D0, [A4 + 0x2]
00002C30 6C24 bge +0x26 /* 00002C56 */
00002C32 302D F454 move.w D0, [A5 - 0xBAC]
00002C36 0640 FFEC addi.w D0, 0xFFEC
00002C3A 3940 0002 move.w [A4 + 0x2], D0
00002C3E 6016 bra +0x18 /* 00002C56 */
label00002C40:
00002C40 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002C44 486C FFF6 pea.l [A4 - 0xA]
00002C48 2F0C move.l -[A7], A4
00002C4A 4EBA FCEE jsr [PC - 0x312 /* 0000293A */]
00002C4E 4FEF 000A lea.l A7, [A7 + 0xA]
00002C52 49EC FFF6 lea.l A4, [A4 - 0xA]
label00002C56:
00002C56 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00002C5A B9C8 cmpa.l A4, A0
00002C5C 6320 bls +0x22 /* 00002C7E */
00002C5E 3014 move.w D0, [A4]
00002C60 B06C FFF6 cmp.w D0, [A4 - 0xA]
00002C64 6DDA blt -0x24 /* 00002C40 */
00002C66 6016 bra +0x18 /* 00002C7E */
label00002C68:
00002C68 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002C6C 486C 000A pea.l [A4 + 0xA]
00002C70 2F0C move.l -[A7], A4
00002C72 4EBA FCC6 jsr [PC - 0x33A /* 0000293A */]
00002C76 4FEF 000A lea.l A7, [A7 + 0xA]
00002C7A 49EC 000A lea.l A4, [A4 + 0xA]
label00002C7E:
00002C7E 3014 move.w D0, [A4]
00002C80 B06C 000A cmp.w D0, [A4 + 0xA]
00002C84 6EE2 bgt -0x1C /* 00002C68 */
00002C86 7003 moveq.l D0, 0x03
00002C88 3B40 FEA0 move.w [A5 - 0x160], D0
00002C8C 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00002C90 200C move.l D0, A4
00002C92 9088 sub.l D0, A0
00002C94 2F3C 0000 000A move.l -[A7], 0xA /* '\n' */
00002C9A 2F00 move.l -[A7], D0
00002C9C 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00002CA0 3B40 FEA2 move.w [A5 - 0x15E], D0
label00002CA4:
00002CA4 4CDF 1800 movem.l A3,A4, [A7]+
00002CA8 4E5E unlink A6
00002CAA 4E75 rts
00002CAC 4452 neg.w [A2]
00002CAE 4147 chk.w D0, D7
00002CB0 4655 not.w [A5]
00002CB2 454C chk.w D2, A4
fn00002CB4:
00002CB4 4E56 FFF8 link A6, -0x0008
00002CB8 48E7 1018 movem.l -[A7], D3,A3,A4
00002CBC 286E 0008 movea.l A4, [A6 + 0x8]
00002CC0 266E 000C movea.l A3, [A6 + 0xC]
00002CC4 486D FED4 pea.l [A5 - 0x12C]
00002CC8 A87B syscall ClipRect
00002CCA 2D53 FFF8 move.l [A6 - 0x8], [A3]
00002CCE 2F0B move.l -[A7], A3
00002CD0 4EBA 0846 jsr [PC + 0x846 /* 00003518 */]
00002CD4 588F addq.l A7, 4
00002CD6 302B 0002 move.w D0, [A3 + 0x2]
00002CDA 9054 sub.w D0, [A4]
00002CDC 3D40 FFFE move.w [A6 - 0x2], D0
00002CE0 3013 move.w D0, [A3]
00002CE2 906C 0002 sub.w D0, [A4 + 0x2]
00002CE6 3D40 FFFC move.w [A6 - 0x4], D0
00002CEA 302C 0006 move.w D0, [A4 + 0x6]
00002CEE C1FC 1200 muls.w D0, 0x1200
00002CF2 D0AD C864 add.l D0, [A5 - 0x379C]
00002CF6 322C 0004 move.w D1, [A4 + 0x4]
00002CFA C3FC 0120 muls.w D1, 0x120
00002CFE D081 add.l D0, D1
00002D00 322E FFFA move.w D1, [A6 - 0x6]
00002D04 926E FFFE sub.w D1, [A6 - 0x2]
00002D08 342C 0006 move.w D2, [A4 + 0x6]
00002D0C 48C2 ext.l D2
00002D0E EB82 asl D2, 5
00002D10 41ED CD24 lea.l A0, [A5 - 0x32DC]
00002D14 D1C2 add.l A0, D2
00002D16 342C 0004 move.w D2, [A4 + 0x4]
00002D1A 48C2 ext.l D2
00002D1C D482 add.l D2, D2
00002D1E D1C2 add.l A0, D2
00002D20 9250 sub.w D1, [A0]
00002D22 342E FFF8 move.w D2, [A6 - 0x8]
00002D26 946E FFFC sub.w D2, [A6 - 0x4]
00002D2A 362C 0006 move.w D3, [A4 + 0x6]
00002D2E 48C3 ext.l D3
00002D30 EB83 asl D3, 5
00002D32 41ED CDC4 lea.l A0, [A5 - 0x323C]
00002D36 D1C3 add.l A0, D3
00002D38 362C 0004 move.w D3, [A4 + 0x4]
00002D3C 48C3 ext.l D3
00002D3E D683 add.l D3, D3
00002D40 D1C3 add.l A0, D3
00002D42 9450 sub.w D2, [A0]
00002D44 3F3C 0001 move.w -[A7], 0x1
00002D48 3F02 move.w -[A7], D2
00002D4A 3F01 move.w -[A7], D1
00002D4C 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002D50 3F3C 0030 move.w -[A7], 0x30 /* '0' */
00002D54 3F3C 0006 move.w -[A7], 0x6
00002D58 2F00 move.l -[A7], D0
00002D5A 4EBA F206 jsr [PC - 0xDFA /* 00001F62 */]
00002D5E 4FEF 0010 lea.l A7, [A7 + 0x10]
00002D62 3F2C 0006 move.w -[A7], [A4 + 0x6]
00002D66 3F3C 0001 move.w -[A7], 0x1
00002D6A 3F2E FFFC move.w -[A7], [A6 - 0x4]
00002D6E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002D72 486E FFF8 pea.l [A6 - 0x8]
00002D76 3F2C 0004 move.w -[A7], [A4 + 0x4]
00002D7A 4EBA FBF8 jsr [PC - 0x408 /* 00002974 */]
00002D7E 4FEF 000E lea.l A7, [A7 + 0xE]
00002D82 2F2D FEFC move.l -[A7], [A5 - 0x104]
00002D86 A879 syscall SetClip
00002D88 4267 clr.w -[A7]
00002D8A 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002D8E 486D FED4 pea.l [A5 - 0x12C]
00002D92 A8AD syscall PtInRect
00002D94 101F move.b D0, [A7]+
00002D96 4A00 tst.b D0
00002D98 6700 00D0 beq +0xD2 /* 00002E6A */
00002D9C 486E FFF8 pea.l [A6 - 0x8]
00002DA0 4EBA 0776 jsr [PC + 0x776 /* 00003518 */]
00002DA4 588F addq.l A7, 4
00002DA6 302E FFFA move.w D0, [A6 - 0x6]
00002DAA 906E FFFE sub.w D0, [A6 - 0x2]
00002DAE 3880 move.w [A4], D0
00002DB0 0C54 0014 cmpi.w [A4], 0x14
00002DB4 6C04 bge +0x6 /* 00002DBA */
00002DB6 7014 moveq.l D0, 0x14
00002DB8 3880 move.w [A4], D0
label00002DBA:
00002DBA 302D F452 move.w D0, [A5 - 0xBAE]
00002DBE 0640 FFEC addi.w D0, 0xFFEC
00002DC2 B054 cmp.w D0, [A4]
00002DC4 6C0A bge +0xC /* 00002DD0 */
00002DC6 302D F452 move.w D0, [A5 - 0xBAE]
00002DCA 0640 FFEC addi.w D0, 0xFFEC
00002DCE 3880 move.w [A4], D0
label00002DD0:
00002DD0 302E FFF8 move.w D0, [A6 - 0x8]
00002DD4 906E FFFC sub.w D0, [A6 - 0x4]
00002DD8 3940 0002 move.w [A4 + 0x2], D0
00002DDC 0C6C 0014 0002 cmpi.w [A4 + 0x2], 0x14
00002DE2 6C06 bge +0x8 /* 00002DEA */
00002DE4 7014 moveq.l D0, 0x14
00002DE6 3940 0002 move.w [A4 + 0x2], D0
label00002DEA:
00002DEA 302D F454 move.w D0, [A5 - 0xBAC]
00002DEE 0640 FFEC addi.w D0, 0xFFEC
00002DF2 B06C 0002 cmp.w D0, [A4 + 0x2]
00002DF6 6C24 bge +0x26 /* 00002E1C */
00002DF8 302D F454 move.w D0, [A5 - 0xBAC]
00002DFC 0640 FFEC addi.w D0, 0xFFEC
00002E00 3940 0002 move.w [A4 + 0x2], D0
00002E04 6016 bra +0x18 /* 00002E1C */
label00002E06:
00002E06 3F3C 0014 move.w -[A7], 0x14
00002E0A 486C FFEC pea.l [A4 - 0x14]
00002E0E 2F0C move.l -[A7], A4
00002E10 4EBA FB28 jsr [PC - 0x4D8 /* 0000293A */]
00002E14 4FEF 000A lea.l A7, [A7 + 0xA]
00002E18 49EC FFEC lea.l A4, [A4 - 0x14]
label00002E1C:
00002E1C 41ED F0FE lea.l A0, [A5 - 0xF02]
00002E20 B9C8 cmpa.l A4, A0
00002E22 6320 bls +0x22 /* 00002E44 */
00002E24 3014 move.w D0, [A4]
00002E26 B06C FFEC cmp.w D0, [A4 - 0x14]
00002E2A 6DDA blt -0x24 /* 00002E06 */
00002E2C 6016 bra +0x18 /* 00002E44 */
label00002E2E:
00002E2E 3F3C 0014 move.w -[A7], 0x14
00002E32 486C 0014 pea.l [A4 + 0x14]
00002E36 2F0C move.l -[A7], A4
00002E38 4EBA FB00 jsr [PC - 0x500 /* 0000293A */]
00002E3C 4FEF 000A lea.l A7, [A7 + 0xA]
00002E40 49EC 0014 lea.l A4, [A4 + 0x14]
label00002E44:
00002E44 3014 move.w D0, [A4]
00002E46 B06C 0014 cmp.w D0, [A4 + 0x14]
00002E4A 6EE2 bgt -0x1C /* 00002E2E */
00002E4C 7002 moveq.l D0, 0x02
00002E4E 3B40 FEA0 move.w [A5 - 0x160], D0
00002E52 41ED F0FE lea.l A0, [A5 - 0xF02]
00002E56 200C move.l D0, A4
00002E58 9088 sub.l D0, A0
00002E5A 2F3C 0000 0014 move.l -[A7], 0x14
00002E60 2F00 move.l -[A7], D0
00002E62 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00002E66 3B40 FEA2 move.w [A5 - 0x15E], D0
label00002E6A:
00002E6A 4CDF 1808 movem.l D3,A3,A4, [A7]+
00002E6E 4E5E unlink A6
00002E70 4E75 rts
00002E72 4452 neg.w [A2]
00002E74 4147 chk.w D0, D7
00002E76 4255 clr.w [A5]
00002E78 4E4B trap 11
fn00002E7A:
00002E7A 4E56 FFF4 link A6, -0x000C
00002E7E 2F0C move.l -[A7], A4
00002E80 286E 0008 movea.l A4, [A6 + 0x8]
00002E84 302E 000C move.w D0, [A6 + 0xC]
00002E88 48C0 ext.l D0
00002E8A D080 add.l D0, D0
00002E8C D08C add.l D0, A4
00002E8E 2040 movea.l A0, D0
00002E90 3068 000A movea.w A0, [A0 + 0xA]
00002E94 2008 move.l D0, A0
00002E96 81FC 0002 divs.w D0, 0x2
00002E9A 0240 00FF andi.w D0, 0xFF
00002E9E 3D40 FFFC move.w [A6 - 0x4], D0
00002EA2 0C6E 0002 000C cmpi.w [A6 + 0xC], 0x2
00002EA8 6D04 blt +0x6 /* 00002EAE */
00002EAA 7028 moveq.l D0, 0x28
00002EAC 6002 bra +0x4 /* 00002EB0 */
label00002EAE:
00002EAE 7032 moveq.l D0, 0x32
label00002EB0:
00002EB0 3D40 FFFE move.w [A6 - 0x2], D0
00002EB4 302C 0006 move.w D0, [A4 + 0x6]
00002EB8 48C0 ext.l D0
00002EBA EB80 asl D0, 5
00002EBC 41ED CBE4 lea.l A0, [A5 - 0x341C]
00002EC0 D1C0 add.l A0, D0
00002EC2 302C 0004 move.w D0, [A4 + 0x4]
00002EC6 48C0 ext.l D0
00002EC8 D080 add.l D0, D0
00002ECA D1C0 add.l A0, D0
00002ECC 3014 move.w D0, [A4]
00002ECE D050 add.w D0, [A0]
00002ED0 3D40 FFFA move.w [A6 - 0x6], D0
00002ED4 302C 0006 move.w D0, [A4 + 0x6]
00002ED8 48C0 ext.l D0
00002EDA EB80 asl D0, 5
00002EDC 41ED CC84 lea.l A0, [A5 - 0x337C]
00002EE0 D1C0 add.l A0, D0
00002EE2 302C 0004 move.w D0, [A4 + 0x4]
00002EE6 48C0 ext.l D0
00002EE8 D080 add.l D0, D0
00002EEA D1C0 add.l A0, D0
00002EEC 302C 0002 move.w D0, [A4 + 0x2]
00002EF0 D050 add.w D0, [A0]
00002EF2 3D40 FFF8 move.w [A6 - 0x8], D0
00002EF6 41ED DEEC lea.l A0, [A5 - 0x2114]
00002EFA D0EE FFFC add.w A0, [A6 - 0x4]
00002EFE 1010 move.b D0, [A0]
00002F00 4880 ext.w D0
00002F02 0240 00FF andi.w D0, 0xFF
00002F06 0640 FF80 addi.w D0, 0xFF80
00002F0A C1EE FFFE muls.w D0, [A6 - 0x2]
00002F0E 48C0 ext.l D0
00002F10 81FC 0040 divs.w D0, 0x40 /* '@' */
00002F14 D06E FFFA add.w D0, [A6 - 0x6]
00002F18 3D40 FFF6 move.w [A6 - 0xA], D0
00002F1C 302E FFFC move.w D0, [A6 - 0x4]
00002F20 0640 00C0 addi.w D0, 0xC0
00002F24 0240 00FF andi.w D0, 0xFF
00002F28 41ED DEEC lea.l A0, [A5 - 0x2114]
00002F2C D0C0 add.w A0, D0
00002F2E 1010 move.b D0, [A0]
00002F30 4880 ext.w D0
00002F32 0240 00FF andi.w D0, 0xFF
00002F36 0640 FF80 addi.w D0, 0xFF80
00002F3A C1EE FFFE muls.w D0, [A6 - 0x2]
00002F3E 48C0 ext.l D0
00002F40 81FC 0040 divs.w D0, 0x40 /* '@' */
00002F44 D06E FFF8 add.w D0, [A6 - 0x8]
00002F48 3D40 FFF4 move.w [A6 - 0xC], D0
00002F4C 302E FFF6 move.w D0, [A6 - 0xA]
00002F50 5940 subq.w D0, 4
00002F52 206E 000E movea.l A0, [A6 + 0xE]
00002F56 3140 0002 move.w [A0 + 0x2], D0
00002F5A 302E FFF4 move.w D0, [A6 - 0xC]
00002F5E 5940 subq.w D0, 4
00002F60 206E 000E movea.l A0, [A6 + 0xE]
00002F64 3080 move.w [A0], D0
00002F66 302E FFF6 move.w D0, [A6 - 0xA]
00002F6A 5840 addq.w D0, 4
00002F6C 206E 000E movea.l A0, [A6 + 0xE]
00002F70 3140 0006 move.w [A0 + 0x6], D0
00002F74 302E FFF4 move.w D0, [A6 - 0xC]
00002F78 5840 addq.w D0, 4
00002F7A 206E 000E movea.l A0, [A6 + 0xE]
00002F7E 3140 0004 move.w [A0 + 0x4], D0
00002F82 285F movea.l A4, [A7]+
00002F84 4E5E unlink A6
00002F86 4E75 rts
00002F88 5345 subq.w D5, 1
00002F8A 5446 addq.w D6, 2
00002F8C 4952 chk.w D4, [A2]
00002F8E 4552 chk.w D2, [A2]
fn00002F90:
00002F90 4E56 FFEE link A6, -0x0012
00002F94 48E7 0018 movem.l -[A7], A3,A4
00002F98 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
00002F9E 486E FFFC pea.l [A6 - 0x4]
00002FA2 4EBA 0574 jsr [PC + 0x574 /* 00003518 */]
00002FA6 588F addq.l A7, 4
00002FA8 302E 0008 move.w D0, [A6 + 0x8]
00002FAC 0640 FF7E addi.w D0, 0xFF7E
00002FB0 48C0 ext.l D0
00002FB2 81FC 0020 divs.w D0, 0x20 /* ' ' */
00002FB6 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00002FBA 0000 0002 ori.b D0, 0x2
00002FBE 01FA .incomplete
00002FC0 0006 005E ori.b D6, 0x5E /* '^' */
00002FC4 00F4 .incomplete
00002FC6 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00002FCA 2648 movea.l A3, A0
00002FCC 6004 bra +0x6 /* 00002FD2 */
label00002FCE:
00002FCE 47EB 000A lea.l A3, [A3 + 0xA]
label00002FD2:
00002FD2 0C53 2710 cmpi.w [A3], 0x2710
00002FD6 6DF6 blt -0x8 /* 00002FCE */
00002FD8 47EB 000A lea.l A3, [A3 + 0xA]
00002FDC 41ED F388 lea.l A0, [A5 - 0xC78]
00002FE0 B7C8 cmpa.l A3, A0
00002FE2 6510 bcs +0x12 /* 00002FF4 */
00002FE4 4879 0000 0262 push.l 0x262
00002FEA 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
00002FEE 588F addq.l A7, 4
00002FF0 6000 01C6 bra +0x1C8 /* 000031B8 */
label00002FF4:
00002FF4 302D DB40 move.w D0, [A5 - 0x24C0]
00002FF8 0640 0010 addi.w D0, 0x10
00002FFC 3680 move.w [A3], D0
00002FFE 302D DB42 move.w D0, [A5 - 0x24BE]
00003002 0640 0091 addi.w D0, 0x91
00003006 3740 0002 move.w [A3 + 0x2], D0
0000300A 7001 moveq.l D0, 0x01
0000300C 3740 0004 move.w [A3 + 0x4], D0
00003010 486E 0008 pea.l [A6 + 0x8]
00003014 2F0B move.l -[A7], A3
00003016 4EBA FB54 jsr [PC - 0x4AC /* 00002B6C */]
0000301A 508F addq.l A7, 8
0000301C 6000 0176 bra +0x178 /* 00003194 */
00003020 41ED F0FE lea.l A0, [A5 - 0xF02]
00003024 2848 movea.l A4, A0
00003026 6004 bra +0x6 /* 0000302C */
label00003028:
00003028 49EC 0014 lea.l A4, [A4 + 0x14]
label0000302C:
0000302C 4A6C 0004 tst.w [A4 + 0x4]
00003030 6CF6 bge -0x8 /* 00003028 */
00003032 49EC 0014 lea.l A4, [A4 + 0x14]
00003036 41ED F2F2 lea.l A0, [A5 - 0xD0E]
0000303A B9C8 cmpa.l A4, A0
0000303C 6510 bcs +0x12 /* 0000304E */
0000303E 4879 0000 0282 push.l 0x282
00003044 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
00003048 588F addq.l A7, 4
0000304A 6000 016C bra +0x16E /* 000031B8 */
label0000304E:
0000304E 302D DB40 move.w D0, [A5 - 0x24C0]
00003052 0640 0010 addi.w D0, 0x10
00003056 3880 move.w [A4], D0
00003058 0C6D 0002 FEA8 cmpi.w [A5 - 0x158], 0x2
0000305E 6C04 bge +0x6 /* 00003064 */
00003060 700D moveq.l D0, 0x0D
00003062 6002 bra +0x4 /* 00003066 */
label00003064:
00003064 7000 moveq.l D0, 0x00
label00003066:
00003066 D06D DB42 add.w D0, [A5 - 0x24BE]
0000306A 0640 00B0 addi.w D0, 0xB0
0000306E 3940 0002 move.w [A4 + 0x2], D0
00003072 426C 0004 clr.w [A4 + 0x4]
00003076 396D FEA8 0006 move.w [A4 + 0x6], [A5 - 0x158]
0000307C 7001 moveq.l D0, 0x01
0000307E 3940 0008 move.w [A4 + 0x8], D0
00003082 0C6D 0004 FEA8 cmpi.w [A5 - 0x158], 0x4
00003088 6706 beq +0x8 /* 00003090 */
0000308A 303C 019C move.w D0, 0x19C
0000308E 6002 bra +0x4 /* 00003092 */
label00003090:
00003090 7014 moveq.l D0, 0x14
label00003092:
00003092 3940 000A move.w [A4 + 0xA], D0
00003096 397C 01D8 000C move.w [A4 + 0xC], 0x1D8
0000309C 7028 moveq.l D0, 0x28
0000309E 3940 000E move.w [A4 + 0xE], D0
000030A2 7064 moveq.l D0, 0x64
000030A4 3940 0010 move.w [A4 + 0x10], D0
000030A8 486E 0008 pea.l [A6 + 0x8]
000030AC 2F0C move.l -[A7], A4
000030AE 4EBA FC04 jsr [PC - 0x3FC /* 00002CB4 */]
000030B2 508F addq.l A7, 8
000030B4 6000 00DE bra +0xE0 /* 00003194 */
000030B8 0C6E 0010 000A cmpi.w [A6 + 0xA], 0x10
000030BE 5EC0 sgt D0
000030C0 4400 neg.b D0
000030C2 4880 ext.w D0
000030C4 3D40 FFF2 move.w [A6 - 0xE], D0
000030C8 4A6E FFF2 tst.w [A6 - 0xE]
000030CC 6706 beq +0x8 /* 000030D4 */
000030CE 526D FEA8 addq.w [A5 - 0x158], 1
000030D2 6004 bra +0x6 /* 000030D8 */
label000030D4:
000030D4 536D FEA8 subq.w [A5 - 0x158], 1
label000030D8:
000030D8 0C6D 0005 FEA8 cmpi.w [A5 - 0x158], 0x5
000030DE 6D04 blt +0x6 /* 000030E4 */
000030E0 426D FEA8 clr.w [A5 - 0x158]
label000030E4:
000030E4 4A6D FEA8 tst.w [A5 - 0x158]
000030E8 6C06 bge +0x8 /* 000030F0 */
000030EA 7004 moveq.l D0, 0x04
000030EC 3B40 FEA8 move.w [A5 - 0x158], D0
label000030F0:
000030F0 486D FFC6 pea.l [A5 - 0x3A]
000030F4 A87B syscall ClipRect
000030F6 486D FFC6 pea.l [A5 - 0x3A]
000030FA A8A3 syscall EraseRect
000030FC 0C6D 0002 FEA8 cmpi.w [A5 - 0x158], 0x2
00003102 6C04 bge +0x6 /* 00003108 */
00003104 700D moveq.l D0, 0x0D
00003106 6002 bra +0x4 /* 0000310A */
label00003108:
00003108 7000 moveq.l D0, 0x00
label0000310A:
0000310A 3F2D FEA8 move.w -[A7], [A5 - 0x158]
0000310E 4267 clr.w -[A7]
00003110 0640 00B0 addi.w D0, 0xB0
00003114 3F00 move.w -[A7], D0
00003116 3F3C 0010 move.w -[A7], 0x10
0000311A 4EBA EF36 jsr [PC - 0x10CA /* 00002052 */]
0000311E 508F addq.l A7, 8
00003120 2F2D FEFC move.l -[A7], [A5 - 0x104]
00003124 A879 syscall SetClip
00003126 42A7 clr.l -[A7]
00003128 302E FFF2 move.w D0, [A6 - 0xE]
0000312C 0640 0102 addi.w D0, 0x102
00003130 3F00 move.w -[A7], D0
00003132 A9B9 syscall GetCursor
00003134 205F movea.l A0, [A7]+
00003136 2D48 FFEE move.l [A6 - 0x12], A0
0000313A 4A6E FFF2 tst.w [A6 - 0xE]
0000313E 6604 bne +0x6 /* 00003144 */
00003140 7001 moveq.l D0, 0x01
00003142 6002 bra +0x4 /* 00003146 */
label00003144:
00003144 700D moveq.l D0, 0x0D
label00003146:
00003146 3F3C 0001 move.w -[A7], 0x1
0000314A 3F3C 00C2 move.w -[A7], 0xC2
0000314E 3F00 move.w -[A7], D0
00003150 3F3C 0010 move.w -[A7], 0x10
00003154 3F3C 0010 move.w -[A7], 0x10
00003158 3F3C 0002 move.w -[A7], 0x2
0000315C 206E FFEE movea.l A0, [A6 - 0x12]
00003160 2F10 move.l -[A7], [A0]
00003162 4EBA EDFE jsr [PC - 0x1202 /* 00001F62 */]
00003166 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000316A:
0000316A 4267 clr.w -[A7]
0000316C A973 syscall StillDown
0000316E 101F move.b D0, [A7]+
00003170 4A00 tst.b D0
00003172 66F6 bne -0x8 /* 0000316A */
00003174 7001 moveq.l D0, 0x01
00003176 3D40 FFF6 move.w [A6 - 0xA], D0
0000317A 3D7C 00C2 FFF4 move.w [A6 - 0xC], 0xC2
00003180 701F moveq.l D0, 0x1F
00003182 3D40 FFFA move.w [A6 - 0x6], D0
00003186 3D7C 00D0 FFF8 move.w [A6 - 0x8], 0xD0
0000318C 486E FFF4 pea.l [A6 - 0xC]
00003190 A928 syscall InvalRect
00003192 6024 bra +0x26 /* 000031B8 */
label00003194:
00003194 3F2D FEA4 move.w -[A7], [A5 - 0x15C]
00003198 4EBA E9D4 jsr [PC - 0x162C /* 00001B6E */]
0000319C 548F addq.l A7, 2
0000319E 426D FEA4 clr.w [A5 - 0x15C]
000031A2 3F2D FEA4 move.w -[A7], [A5 - 0x15C]
000031A6 4EBA E9C6 jsr [PC - 0x163A /* 00001B6E */]
000031AA 548F addq.l A7, 2
000031AC 486D FED4 pea.l [A5 - 0x12C]
000031B0 A928 syscall InvalRect
000031B2 7001 moveq.l D0, 0x01
000031B4 3B40 FE9E move.w [A5 - 0x162], D0
label000031B8:
000031B8 4CDF 1800 movem.l A3,A4, [A7]+
000031BC 4E5E unlink A6
000031BE 4E75 rts
000031C0 4E45 trap 5
000031C2 574F subq.w A7, 3
000031C4 424A clr.w A2
000031C6 4543 chk.w D2, D3
fn000031C8:
000031C8 4E56 FFD8 link A6, -0x0028
000031CC 48E7 0108 movem.l -[A7], D7,A4
000031D0 7E00 moveq.l D7, 0x00
000031D2 6002 bra +0x4 /* 000031D6 */
label000031D4:
000031D4 5247 addq.w D7, 1
label000031D6:
000031D6 3007 move.w D0, D7
000031D8 C1FC 001E muls.w D0, 0x1E
000031DC 41ED E258 lea.l A0, [A5 - 0x1DA8]
000031E0 D1C0 add.l A0, D0
000031E2 0C50 2710 cmpi.w [A0], 0x2710
000031E6 6DEC blt -0x12 /* 000031D4 */
000031E8 5247 addq.w D7, 1
000031EA 0C47 007D cmpi.w D7, 0x7D /* '}' */
000031EE 6D10 blt +0x12 /* 00003200 */
000031F0 4879 0000 029C push.l 0x29C
000031F6 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
000031FA 588F addq.l A7, 4
000031FC 6000 030A bra +0x30C /* 00003508 */
label00003200:
00003200 486E 0008 pea.l [A6 + 0x8]
00003204 4EBA 0312 jsr [PC + 0x312 /* 00003518 */]
00003208 588F addq.l A7, 4
0000320A 4A6D FE96 tst.w [A5 - 0x16A]
0000320E 670A beq +0xC /* 0000321A */
00003210 486E 0008 pea.l [A6 + 0x8]
00003214 4EBA 04CA jsr [PC + 0x4CA /* 000036E0 */]
00003218 588F addq.l A7, 4
label0000321A:
0000321A 486D FED4 pea.l [A5 - 0x12C]
0000321E A87B syscall ClipRect
00003220 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003224 A89C syscall PenMode
00003226 302E 000A move.w D0, [A6 + 0xA]
0000322A 0640 FF9C addi.w D0, 0xFF9C
0000322E 3D40 FFFA move.w [A6 - 0x6], D0
00003232 302E 0008 move.w D0, [A6 + 0x8]
00003236 0640 FF9C addi.w D0, 0xFF9C
0000323A 3D40 FFF8 move.w [A6 - 0x8], D0
0000323E 302E 000A move.w D0, [A6 + 0xA]
00003242 0640 0064 addi.w D0, 0x64 /* 'd' */
00003246 3D40 FFFE move.w [A6 - 0x2], D0
0000324A 302E 0008 move.w D0, [A6 + 0x8]
0000324E 0640 0064 addi.w D0, 0x64 /* 'd' */
00003252 3D40 FFFC move.w [A6 - 0x4], D0
00003256 7001 moveq.l D0, 0x01
00003258 3D40 FFEA move.w [A6 - 0x16], D0
label0000325C:
0000325C 486E FFF4 pea.l [A6 - 0xC]
00003260 A972 syscall GetMouse
00003262 4267 clr.w -[A7]
00003264 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003268 486D FED4 pea.l [A5 - 0x12C]
0000326C A8AD syscall PtInRect
0000326E 101F move.b D0, [A7]+
00003270 4880 ext.w D0
00003272 3D40 FFDE move.w [A6 - 0x22], D0
00003276 4267 clr.w -[A7]
00003278 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000327C 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00003280 A881 syscall EqualPt
00003282 101F move.b D0, [A7]+
00003284 4A00 tst.b D0
00003286 670E beq +0x10 /* 00003296 */
00003288 4A6E FFEA tst.w [A6 - 0x16]
0000328C 6608 bne +0xA /* 00003296 */
0000328E 4A6E FFDE tst.w [A6 - 0x22]
00003292 6600 0168 bne +0x16A /* 000033FC */
label00003296:
00003296 2D6E FFF4 FFF0 move.l [A6 - 0x10], [A6 - 0xC]
0000329C 4A6E FFEA tst.w [A6 - 0x16]
000032A0 6614 bne +0x16 /* 000032B6 */
000032A2 4A6E FFDC tst.w [A6 - 0x24]
000032A6 670E beq +0x10 /* 000032B6 */
000032A8 486E FFEC pea.l [A6 - 0x14]
000032AC 486E 0008 pea.l [A6 + 0x8]
000032B0 4EBA 02DA jsr [PC + 0x2DA /* 0000358C */]
000032B4 508F addq.l A7, 8
label000032B6:
000032B6 426E FFEA clr.w [A6 - 0x16]
000032BA 4A6E FFDE tst.w [A6 - 0x22]
000032BE 660A bne +0xC /* 000032CA */
000032C0 486E FFF4 pea.l [A6 - 0xC]
000032C4 4EBA 03A6 jsr [PC + 0x3A6 /* 0000366C */]
000032C8 588F addq.l A7, 4
label000032CA:
000032CA 486E FFF4 pea.l [A6 - 0xC]
000032CE 4EBA 0248 jsr [PC + 0x248 /* 00003518 */]
000032D2 588F addq.l A7, 4
000032D4 486E FFF8 pea.l [A6 - 0x8]
000032D8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000032DC 486E FFE8 pea.l [A6 - 0x18]
000032E0 A8C3 syscall PtToAngle
000032E2 302E FFE8 move.w D0, [A6 - 0x18]
000032E6 D040 add.w D0, D0
000032E8 0640 0016 addi.w D0, 0x16
000032EC 48C0 ext.l D0
000032EE 81FC 002D divs.w D0, 0x2D /* '-' */
000032F2 0240 000F andi.w D0, 0xF
000032F6 3D40 FFE6 move.w [A6 - 0x1A], D0
000032FA 302E FFF6 move.w D0, [A6 - 0xA]
000032FE 906E 000A sub.w D0, [A6 + 0xA]
00003302 3D40 FFE4 move.w [A6 - 0x1C], D0
00003306 302E FFF4 move.w D0, [A6 - 0xC]
0000330A 906E 0008 sub.w D0, [A6 + 0x8]
0000330E 3D40 FFE2 move.w [A6 - 0x1E], D0
00003312 4A6E FFE4 tst.w [A6 - 0x1C]
00003316 6C0A bge +0xC /* 00003322 */
00003318 302E FFE4 move.w D0, [A6 - 0x1C]
0000331C 4440 neg.w D0
0000331E 3D40 FFE4 move.w [A6 - 0x1C], D0
label00003322:
00003322 4A6E FFE2 tst.w [A6 - 0x1E]
00003326 6C0A bge +0xC /* 00003332 */
00003328 302E FFE2 move.w D0, [A6 - 0x1E]
0000332C 4440 neg.w D0
0000332E 3D40 FFE2 move.w [A6 - 0x1E], D0
label00003332:
00003332 3F2E FFE2 move.w -[A7], [A6 - 0x1E]
00003336 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
0000333A 4EAD 01E2 jsr [A5 + 0x1E2 /* export_56 */]
0000333E 588F addq.l A7, 4
00003340 3D40 FFE0 move.w [A6 - 0x20], D0
00003344 4A6D FE9C tst.w [A5 - 0x164]
00003348 670E beq +0x10 /* 00003358 */
0000334A 0C6E 001A FFE0 cmpi.w [A6 - 0x20], 0x1A
00003350 6C06 bge +0x8 /* 00003358 */
00003352 701A moveq.l D0, 0x1A
00003354 3D40 FFE0 move.w [A6 - 0x20], D0
label00003358:
00003358 082E 0000 FFE7 btst.b [A6 - 0x19], 0x0
0000335E 6706 beq +0x8 /* 00003366 */
00003360 08EE 0000 FFE1 bset.b [A6 - 0x1F], 0x0
label00003366:
00003366 302E FFE6 move.w D0, [A6 - 0x1A]
0000336A 48C0 ext.l D0
0000336C D080 add.l D0, D0
0000336E 41ED FFCE lea.l A0, [A5 - 0x32]
00003372 D1C0 add.l A0, D0
00003374 302E FFE0 move.w D0, [A6 - 0x20]
00003378 C1D0 muls.w D0, [A0]
0000337A 48C0 ext.l D0
0000337C 81FC 0002 divs.w D0, 0x2
00003380 D06E 000A add.w D0, [A6 + 0xA]
00003384 3D40 FFEE move.w [A6 - 0x12], D0
00003388 302E FFE6 move.w D0, [A6 - 0x1A]
0000338C 0640 000C addi.w D0, 0xC
00003390 0240 000F andi.w D0, 0xF
00003394 48C0 ext.l D0
00003396 D080 add.l D0, D0
00003398 41ED FFCE lea.l A0, [A5 - 0x32]
0000339C D1C0 add.l A0, D0
0000339E 302E FFE0 move.w D0, [A6 - 0x20]
000033A2 C1D0 muls.w D0, [A0]
000033A4 48C0 ext.l D0
000033A6 81FC 0002 divs.w D0, 0x2
000033AA D06E 0008 add.w D0, [A6 + 0x8]
000033AE 3D40 FFEC move.w [A6 - 0x14], D0
000033B2 4A6E FFEE tst.w [A6 - 0x12]
000033B6 6D1A blt +0x1C /* 000033D2 */
000033B8 302E FFEE move.w D0, [A6 - 0x12]
000033BC B06D F452 cmp.w D0, [A5 - 0xBAE]
000033C0 6C10 bge +0x12 /* 000033D2 */
000033C2 4A6E FFEC tst.w [A6 - 0x14]
000033C6 6D0A blt +0xC /* 000033D2 */
000033C8 302E FFEC move.w D0, [A6 - 0x14]
000033CC B06D F454 cmp.w D0, [A5 - 0xBAC]
000033D0 6D04 blt +0x6 /* 000033D6 */
label000033D2:
000033D2 7000 moveq.l D0, 0x00
000033D4 6002 bra +0x4 /* 000033D8 */
label000033D6:
000033D6 7001 moveq.l D0, 0x01
label000033D8:
000033D8 3D40 FFDC move.w [A6 - 0x24], D0
000033DC 4A6E FFDC tst.w [A6 - 0x24]
000033E0 670E beq +0x10 /* 000033F0 */
000033E2 486E FFEC pea.l [A6 - 0x14]
000033E6 486E 0008 pea.l [A6 + 0x8]
000033EA 4EBA 01A0 jsr [PC + 0x1A0 /* 0000358C */]
000033EE 508F addq.l A7, 8
label000033F0:
000033F0 4878 0003 push.l 0x3
000033F4 486E FFD8 pea.l [A6 - 0x28]
000033F8 4EAD 00AA jsr [A5 + 0xAA /* export_17 */]
label000033FC:
000033FC 4267 clr.w -[A7]
000033FE A973 syscall StillDown
00003400 101F move.b D0, [A7]+
00003402 4A00 tst.b D0
00003404 6600 FE56 bne -0x1A8 /* 0000325C */
00003408 A89E syscall PenNormal
0000340A 2F2D FEFC move.l -[A7], [A5 - 0x104]
0000340E A879 syscall SetClip
00003410 486D FED4 pea.l [A5 - 0x12C]
00003414 A928 syscall InvalRect
00003416 4A6E FFDC tst.w [A6 - 0x24]
0000341A 6700 00EC beq +0xEE /* 00003508 */
0000341E 3007 move.w D0, D7
00003420 C1FC 001E muls.w D0, 0x1E
00003424 41ED E258 lea.l A0, [A5 - 0x1DA8]
00003428 D1C0 add.l A0, D0
0000342A 2848 movea.l A4, A0
0000342C 4A6E FFE6 tst.w [A6 - 0x1A]
00003430 6F20 ble +0x22 /* 00003452 */
00003432 0C6E 0009 FFE6 cmpi.w [A6 - 0x1A], 0x9 /* '\t' */
00003438 6C18 bge +0x1A /* 00003452 */
0000343A 38AE 000A move.w [A4], [A6 + 0xA]
0000343E 396E 0008 0002 move.w [A4 + 0x2], [A6 + 0x8]
00003444 396E FFEE 0006 move.w [A4 + 0x6], [A6 - 0x12]
0000344A 396E FFEC 0008 move.w [A4 + 0x8], [A6 - 0x14]
00003450 6016 bra +0x18 /* 00003468 */
label00003452:
00003452 38AE FFEE move.w [A4], [A6 - 0x12]
00003456 396E FFEC 0002 move.w [A4 + 0x2], [A6 - 0x14]
0000345C 396E 000A 0006 move.w [A4 + 0x6], [A6 + 0xA]
00003462 396E 0008 0008 move.w [A4 + 0x8], [A6 + 0x8]
label00003468:
00003468 396E FFE0 0004 move.w [A4 + 0x4], [A6 - 0x20]
0000346E 4A6E FFE6 tst.w [A6 - 0x1A]
00003472 6718 beq +0x1A /* 0000348C */
00003474 0C6E 0003 FFE6 cmpi.w [A6 - 0x1A], 0x3
0000347A 6F08 ble +0xA /* 00003484 */
0000347C 0C6E 0009 FFE6 cmpi.w [A6 - 0x1A], 0x9 /* '\t' */
00003482 6D08 blt +0xA /* 0000348C */
label00003484:
00003484 0C6E 000B FFE6 cmpi.w [A6 - 0x1A], 0xB
0000348A 6F08 ble +0xA /* 00003494 */
label0000348C:
0000348C 7001 moveq.l D0, 0x01
0000348E 3940 000A move.w [A4 + 0xA], D0
00003492 6006 bra +0x8 /* 0000349A */
label00003494:
00003494 70FF moveq.l D0, 0xFFFFFFFF
00003496 3940 000A move.w [A4 + 0xA], D0
label0000349A:
0000349A 41ED FFF0 lea.l A0, [A5 - 0x10]
0000349E D0EE FFE6 add.w A0, [A6 - 0x1A]
000034A2 1010 move.b D0, [A0]
000034A4 4880 ext.w D0
000034A6 3940 000C move.w [A4 + 0xC], D0
000034AA 396D FEA6 000E move.w [A4 + 0xE], [A5 - 0x15A]
000034B0 602C bra +0x2E /* 000034DE */
label000034B2:
000034B2 3007 move.w D0, D7
000034B4 C1FC 001E muls.w D0, 0x1E
000034B8 41ED E258 lea.l A0, [A5 - 0x1DA8]
000034BC D1C0 add.l A0, D0
000034BE 3007 move.w D0, D7
000034C0 C1FC 001E muls.w D0, 0x1E
000034C4 43ED E258 lea.l A1, [A5 - 0x1DA8]
000034C8 D3C0 add.l A1, D0
000034CA 3F3C 001E move.w -[A7], 0x1E
000034CE 4869 FFE2 pea.l [A1 - 0x1E]
000034D2 4850 pea.l [A0]
000034D4 4EBA F464 jsr [PC - 0xB9C /* 0000293A */]
000034D8 4FEF 000A lea.l A7, [A7 + 0xA]
000034DC 5347 subq.w D7, 1
label000034DE:
000034DE 4A47 tst.w D7
000034E0 6F20 ble +0x22 /* 00003502 */
000034E2 3007 move.w D0, D7
000034E4 C1FC 001E muls.w D0, 0x1E
000034E8 41ED E258 lea.l A0, [A5 - 0x1DA8]
000034EC D1C0 add.l A0, D0
000034EE 3007 move.w D0, D7
000034F0 5340 subq.w D0, 1
000034F2 C1FC 001E muls.w D0, 0x1E
000034F6 43ED E258 lea.l A1, [A5 - 0x1DA8]
000034FA D3C0 add.l A1, D0
000034FC 3010 move.w D0, [A0]
000034FE B051 cmp.w D0, [A1]
00003500 6DB0 blt -0x4E /* 000034B2 */
label00003502:
00003502 7001 moveq.l D0, 0x01
00003504 3B40 FE9E move.w [A5 - 0x162], D0
label00003508:
00003508 4CDF 1080 movem.l D7,A4, [A7]+
0000350C 4E5E unlink A6
0000350E 4E75 rts
00003510 4C49 4E45 movem.l D0,D2,D6,A1,A2,A3,A6, A1
00003514 5354 subq.w [A4], 1
00003516 5546 subq.w D6, 2
fn00003518:
00003518 4E56 0000 link A6, 0
0000351C 206E 0008 movea.l A0, [A6 + 0x8]
00003520 3028 0002 move.w D0, [A0 + 0x2]
00003524 D06D DB40 add.w D0, [A5 - 0x24C0]
00003528 48C0 ext.l D0
0000352A 81ED F452 divs.w D0, [A5 - 0xBAE]
0000352E 4840 swap.w D0
00003530 206E 0008 movea.l A0, [A6 + 0x8]
00003534 3140 0002 move.w [A0 + 0x2], D0
00003538 206E 0008 movea.l A0, [A6 + 0x8]
0000353C 302D DB42 move.w D0, [A5 - 0x24BE]
00003540 D150 add.w [A0], D0
00003542 4E5E unlink A6
00003544 4E75 rts
00003546 574F subq.w A7, 3
00003548 524C addq.w A4, 1
0000354A 4441 neg.w D1
0000354C 444A neg.w A2
fn0000354E:
0000354E 4E56 0000 link A6, 0
00003552 206E 0008 movea.l A0, [A6 + 0x8]
00003556 302D DB42 move.w D0, [A5 - 0x24BE]
0000355A 9150 sub.w [A0], D0
0000355C 206E 0008 movea.l A0, [A6 + 0x8]
00003560 302D DB40 move.w D0, [A5 - 0x24C0]
00003564 9168 0002 sub.w [A0 + 0x2], D0
00003568 206E 0008 movea.l A0, [A6 + 0x8]
0000356C 0C68 FED4 0002 cmpi.w [A0 + 0x2], 0xFED4
00003572 6C0C bge +0xE /* 00003580 */
00003574 206E 0008 movea.l A0, [A6 + 0x8]
00003578 302D F452 move.w D0, [A5 - 0xBAE]
0000357C D168 0002 add.w [A0 + 0x2], D0
label00003580:
00003580 4E5E unlink A6
00003582 4E75 rts
00003584 554E subq.w A6, 2
00003586 574F subq.w A7, 3
00003588 524C addq.w A4, 1
0000358A 4441 neg.w D1
fn0000358C:
0000358C 4E56 FFEC link A6, -0x0014
00003590 486E FFEE pea.l [A6 - 0x12]
00003594 A898 syscall GetPenState
00003596 206E 000C movea.l A0, [A6 + 0xC]
0000359A 226E 0008 movea.l A1, [A6 + 0x8]
0000359E 3029 0002 move.w D0, [A1 + 0x2]
000035A2 9068 0002 sub.w D0, [A0 + 0x2]
000035A6 3F00 move.w -[A7], D0
000035A8 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
000035AC 548F addq.l A7, 2
000035AE 206E 000C movea.l A0, [A6 + 0xC]
000035B2 226E 0008 movea.l A1, [A6 + 0x8]
000035B6 3211 move.w D1, [A1]
000035B8 9250 sub.w D1, [A0]
000035BA 3F01 move.w -[A7], D1
000035BC 3D40 FFEC move.w [A6 - 0x14], D0
000035C0 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
000035C4 548F addq.l A7, 2
000035C6 B06E FFEC cmp.w D0, [A6 - 0x14]
000035CA 6C0C bge +0xE /* 000035D8 */
000035CC 3F3C 0001 move.w -[A7], 0x1
000035D0 3F3C 0002 move.w -[A7], 0x2
000035D4 A89B syscall PenSize
000035D6 600A bra +0xC /* 000035E2 */
label000035D8:
000035D8 3F3C 0002 move.w -[A7], 0x2
000035DC 3F3C 0001 move.w -[A7], 0x1
000035E0 A89B syscall PenSize
label000035E2:
000035E2 206E 0008 movea.l A0, [A6 + 0x8]
000035E6 3028 0002 move.w D0, [A0 + 0x2]
000035EA 906D DB40 sub.w D0, [A5 - 0x24C0]
000035EE 206E 0008 movea.l A0, [A6 + 0x8]
000035F2 3210 move.w D1, [A0]
000035F4 926D DB42 sub.w D1, [A5 - 0x24BE]
000035F8 3F00 move.w -[A7], D0
000035FA 3F01 move.w -[A7], D1
000035FC A893 syscall MoveTo
000035FE 206E 000C movea.l A0, [A6 + 0xC]
00003602 3028 0002 move.w D0, [A0 + 0x2]
00003606 906D DB40 sub.w D0, [A5 - 0x24C0]
0000360A 206E 000C movea.l A0, [A6 + 0xC]
0000360E 3210 move.w D1, [A0]
00003610 926D DB42 sub.w D1, [A5 - 0x24BE]
00003614 3F00 move.w -[A7], D0
00003616 3F01 move.w -[A7], D1
00003618 A891 syscall LineTo
0000361A 206E 0008 movea.l A0, [A6 + 0x8]
0000361E 3028 0002 move.w D0, [A0 + 0x2]
00003622 906D DB40 sub.w D0, [A5 - 0x24C0]
00003626 D06D F452 add.w D0, [A5 - 0xBAE]
0000362A 206E 0008 movea.l A0, [A6 + 0x8]
0000362E 3210 move.w D1, [A0]
00003630 926D DB42 sub.w D1, [A5 - 0x24BE]
00003634 3F00 move.w -[A7], D0
00003636 3F01 move.w -[A7], D1
00003638 A893 syscall MoveTo
0000363A 206E 000C movea.l A0, [A6 + 0xC]
0000363E 3028 0002 move.w D0, [A0 + 0x2]
00003642 906D DB40 sub.w D0, [A5 - 0x24C0]
00003646 D06D F452 add.w D0, [A5 - 0xBAE]
0000364A 206E 000C movea.l A0, [A6 + 0xC]
0000364E 3210 move.w D1, [A0]
00003650 926D DB42 sub.w D1, [A5 - 0x24BE]
00003654 3F00 move.w -[A7], D0
00003656 3F01 move.w -[A7], D1
00003658 A891 syscall LineTo
0000365A 486E FFEE pea.l [A6 - 0x12]
0000365E A899 syscall SetPenState
00003660 4E5E unlink A6
00003662 4E75 rts
00003664 574F subq.w A7, 3
00003666 524C addq.w A4, 1
00003668 444C neg.w A4
0000366A 494E chk.w D4, A6
fn0000366C:
0000366C 4E56 FFFC link A6, -0x0004
00003670 2F0C move.l -[A7], A4
00003672 286E 0008 movea.l A4, [A6 + 0x8]
00003676 302C 0002 move.w D0, [A4 + 0x2]
0000367A B06D FED6 cmp.w D0, [A5 - 0x12A]
0000367E 6C0E bge +0x10 /* 0000368E */
00003680 3F3C 0014 move.w -[A7], 0x14
00003684 2F2D FED0 move.l -[A7], [A5 - 0x130]
00003688 4EBA ECBE jsr [PC - 0x1342 /* 00002348 */]
0000368C 5C8F addq.l A7, 6
label0000368E:
0000368E 302C 0002 move.w D0, [A4 + 0x2]
00003692 B06D FEDA cmp.w D0, [A5 - 0x126]
00003696 6F0E ble +0x10 /* 000036A6 */
00003698 3F3C 0015 move.w -[A7], 0x15
0000369C 2F2D FED0 move.l -[A7], [A5 - 0x130]
000036A0 4EBA ECA6 jsr [PC - 0x135A /* 00002348 */]
000036A4 5C8F addq.l A7, 6
label000036A6:
000036A6 3014 move.w D0, [A4]
000036A8 B06D FED4 cmp.w D0, [A5 - 0x12C]
000036AC 6C0E bge +0x10 /* 000036BC */
000036AE 3F3C 0014 move.w -[A7], 0x14
000036B2 2F2D FECC move.l -[A7], [A5 - 0x134]
000036B6 4EBA EC90 jsr [PC - 0x1370 /* 00002348 */]
000036BA 5C8F addq.l A7, 6
label000036BC:
000036BC 3014 move.w D0, [A4]
000036BE B06D FED8 cmp.w D0, [A5 - 0x128]
000036C2 6F0E ble +0x10 /* 000036D2 */
000036C4 3F3C 0015 move.w -[A7], 0x15
000036C8 2F2D FECC move.l -[A7], [A5 - 0x134]
000036CC 4EBA EC7A jsr [PC - 0x1386 /* 00002348 */]
000036D0 5C8F addq.l A7, 6
label000036D2:
000036D2 285F movea.l A4, [A7]+
000036D4 4E5E unlink A6
000036D6 4E75 rts
000036D8 4D4F chk.w D6, A7
000036DA 5645 addq.w D5, 3
000036DC 574F subq.w A7, 3
000036DE 524C addq.w A4, 1
fn000036E0:
000036E0 4E56 FFEE link A6, -0x0012
000036E4 2F0C move.l -[A7], A4
000036E6 3D7C 0100 FFFA move.w [A6 - 0x6], 0x100
000036EC 206E 0008 movea.l A0, [A6 + 0x8]
000036F0 3D68 0002 FFF0 move.w [A6 - 0x10], [A0 + 0x2]
000036F6 206E 0008 movea.l A0, [A6 + 0x8]
000036FA 3D50 FFEE move.w [A6 - 0x12], [A0]
000036FE 41ED E258 lea.l A0, [A5 - 0x1DA8]
00003702 2848 movea.l A4, A0
00003704 6000 00BE bra +0xC0 /* 000037C4 */
label00003708:
00003708 426E FFF2 clr.w [A6 - 0xE]
0000370C 6000 00A8 bra +0xAA /* 000037B6 */
label00003710:
00003710 4A6E FFF2 tst.w [A6 - 0xE]
00003714 6706 beq +0x8 /* 0000371C */
00003716 3054 movea.w A0, [A4]
00003718 2008 move.l D0, A0
0000371A 6004 bra +0x6 /* 00003720 */
label0000371C:
0000371C 302C 0006 move.w D0, [A4 + 0x6]
label00003720:
00003720 3D40 FFF6 move.w [A6 - 0xA], D0
00003724 4A6E FFF2 tst.w [A6 - 0xE]
00003728 6708 beq +0xA /* 00003732 */
0000372A 306C 0002 movea.w A0, [A4 + 0x2]
0000372E 2008 move.l D0, A0
00003730 6004 bra +0x6 /* 00003736 */
label00003732:
00003732 302C 0008 move.w D0, [A4 + 0x8]
label00003736:
00003736 3D40 FFF4 move.w [A6 - 0xC], D0
0000373A 302E FFF0 move.w D0, [A6 - 0x10]
0000373E 906E FFF6 sub.w D0, [A6 - 0xA]
00003742 3D40 FFFE move.w [A6 - 0x2], D0
00003746 302E FFEE move.w D0, [A6 - 0x12]
0000374A 906E FFF4 sub.w D0, [A6 - 0xC]
0000374E 3D40 FFFC move.w [A6 - 0x4], D0
00003752 3F2E FFFE move.w -[A7], [A6 - 0x2]
00003756 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
0000375A 548F addq.l A7, 2
0000375C 3D40 FFFE move.w [A6 - 0x2], D0
00003760 3F2E FFFC move.w -[A7], [A6 - 0x4]
00003764 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
00003768 548F addq.l A7, 2
0000376A 3D40 FFFC move.w [A6 - 0x4], D0
0000376E 0C6E 0040 FFFE cmpi.w [A6 - 0x2], 0x40 /* '@' */
00003774 6C3C bge +0x3E /* 000037B2 */
00003776 0C6E 0040 FFFC cmpi.w [A6 - 0x4], 0x40 /* '@' */
0000377C 6C34 bge +0x36 /* 000037B2 */
0000377E 302E FFFE move.w D0, [A6 - 0x2]
00003782 C1EE FFFE muls.w D0, [A6 - 0x2]
00003786 322E FFFC move.w D1, [A6 - 0x4]
0000378A C3EE FFFC muls.w D1, [A6 - 0x4]
0000378E D041 add.w D0, D1
00003790 3D40 FFF8 move.w [A6 - 0x8], D0
00003794 B06E FFFA cmp.w D0, [A6 - 0x6]
00003798 6C18 bge +0x1A /* 000037B2 */
0000379A 206E 0008 movea.l A0, [A6 + 0x8]
0000379E 316E FFF6 0002 move.w [A0 + 0x2], [A6 - 0xA]
000037A4 206E 0008 movea.l A0, [A6 + 0x8]
000037A8 30AE FFF4 move.w [A0], [A6 - 0xC]
000037AC 3D6E FFF8 FFFA move.w [A6 - 0x6], [A6 - 0x8]
label000037B2:
000037B2 526E FFF2 addq.w [A6 - 0xE], 1
label000037B6:
000037B6 0C6E 0002 FFF2 cmpi.w [A6 - 0xE], 0x2
000037BC 6D00 FF52 blt -0xAC /* 00003710 */
000037C0 49EC 001E lea.l A4, [A4 + 0x1E]
label000037C4:
000037C4 4A6C 000C tst.w [A4 + 0xC]
000037C8 6600 FF3E bne -0xC0 /* 00003708 */
000037CC 285F movea.l A4, [A7]+
000037CE 4E5E unlink A6
000037D0 4E75 rts
000037D2 524F addq.w A7, 1
000037D4 554E subq.w A6, 2
000037D6 4450 neg.w [A0]
000037D8 4F49 chk.w D7, A1
fn000037DA:
000037DA 4E56 FFF2 link A6, -0x000E
000037DE 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
000037E2 486E 0008 pea.l [A6 + 0x8]
000037E6 4EBA FD30 jsr [PC - 0x2D0 /* 00003518 */]
000037EA 588F addq.l A7, 4
000037EC 2D7C 0000 008C FFF4 move.l [A6 - 0xC], 0x8C
000037F4 426E FFF2 clr.w [A6 - 0xE]
000037F8 41ED F2F2 lea.l A0, [A5 - 0xD0E]
000037FC 2D48 FFFC move.l [A6 - 0x4], A0
00003800 604A bra +0x4C /* 0000384C */
label00003802:
00003802 206E FFFC movea.l A0, [A6 - 0x4]
00003806 3F28 0002 move.w -[A7], [A0 + 0x2]
0000380A 206E FFFC movea.l A0, [A6 - 0x4]
0000380E 3F10 move.w -[A7], [A0]
00003810 486E 0008 pea.l [A6 + 0x8]
00003814 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00003818 508F addq.l A7, 8
0000381A 2E00 move.l D7, D0
0000381C B0AE FFF4 cmp.l D0, [A6 - 0xC]
00003820 6C22 bge +0x24 /* 00003844 */
00003822 2D47 FFF4 move.l [A6 - 0xC], D7
00003826 41ED F2F2 lea.l A0, [A5 - 0xD0E]
0000382A 202E FFFC move.l D0, [A6 - 0x4]
0000382E 9088 sub.l D0, A0
00003830 2F3C 0000 000A move.l -[A7], 0xA /* '\n' */
00003836 2F00 move.l -[A7], D0
00003838 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
0000383C 3800 move.w D4, D0
0000383E 7003 moveq.l D0, 0x03
00003840 3D40 FFF2 move.w [A6 - 0xE], D0
label00003844:
00003844 06AE 0000 000A FFFC addi.l [A6 - 0x4], 0xA /* '\n' */
label0000384C:
0000384C 206E FFFC movea.l A0, [A6 - 0x4]
00003850 0C50 2710 cmpi.w [A0], 0x2710
00003854 6DAC blt -0x52 /* 00003802 */
00003856 41ED F388 lea.l A0, [A5 - 0xC78]
0000385A 2D48 FFF8 move.l [A6 - 0x8], A0
0000385E 603C bra +0x3E /* 0000389C */
label00003860:
00003860 206E FFF8 movea.l A0, [A6 - 0x8]
00003864 3F28 0002 move.w -[A7], [A0 + 0x2]
00003868 206E FFF8 movea.l A0, [A6 - 0x8]
0000386C 3F10 move.w -[A7], [A0]
0000386E 486E 0008 pea.l [A6 + 0x8]
00003872 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00003876 508F addq.l A7, 8
00003878 2E00 move.l D7, D0
0000387A B0AE FFF4 cmp.l D0, [A6 - 0xC]
0000387E 6C18 bge +0x1A /* 00003898 */
00003880 2D47 FFF4 move.l [A6 - 0xC], D7
00003884 41ED F388 lea.l A0, [A5 - 0xC78]
00003888 202E FFF8 move.l D0, [A6 - 0x8]
0000388C 9088 sub.l D0, A0
0000388E E480 asr D0, 2
00003890 3800 move.w D4, D0
00003892 7004 moveq.l D0, 0x04
00003894 3D40 FFF2 move.w [A6 - 0xE], D0
label00003898:
00003898 58AE FFF8 addq.l [A6 - 0x8], 4
label0000389C:
0000389C 41ED F450 lea.l A0, [A5 - 0xBB0]
000038A0 B1EE FFF8 cmpa.l A0, [A6 - 0x8]
000038A4 62BA bhi -0x44 /* 00003860 */
000038A6 41ED F0FE lea.l A0, [A5 - 0xF02]
000038AA 2648 movea.l A3, A0
000038AC 6000 0082 bra +0x84 /* 00003930 */
label000038B0:
000038B0 302B 0006 move.w D0, [A3 + 0x6]
000038B4 48C0 ext.l D0
000038B6 EB80 asl D0, 5
000038B8 41ED CBE4 lea.l A0, [A5 - 0x341C]
000038BC D1C0 add.l A0, D0
000038BE 302B 0004 move.w D0, [A3 + 0x4]
000038C2 48C0 ext.l D0
000038C4 D080 add.l D0, D0
000038C6 D1C0 add.l A0, D0
000038C8 3050 movea.w A0, [A0]
000038CA 2008 move.l D0, A0
000038CC 81FC 0002 divs.w D0, 0x2
000038D0 D053 add.w D0, [A3]
000038D2 322B 0006 move.w D1, [A3 + 0x6]
000038D6 48C1 ext.l D1
000038D8 EB81 asl D1, 5
000038DA 41ED CC84 lea.l A0, [A5 - 0x337C]
000038DE D1C1 add.l A0, D1
000038E0 322B 0004 move.w D1, [A3 + 0x4]
000038E4 48C1 ext.l D1
000038E6 D281 add.l D1, D1
000038E8 D1C1 add.l A0, D1
000038EA 3050 movea.w A0, [A0]
000038EC 2208 move.l D1, A0
000038EE 83FC 0002 divs.w D1, 0x2
000038F2 D26B 0002 add.w D1, [A3 + 0x2]
000038F6 3F01 move.w -[A7], D1
000038F8 3F00 move.w -[A7], D0
000038FA 486E 0008 pea.l [A6 + 0x8]
000038FE 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00003902 508F addq.l A7, 8
00003904 2E00 move.l D7, D0
00003906 B0AE FFF4 cmp.l D0, [A6 - 0xC]
0000390A 6C20 bge +0x22 /* 0000392C */
0000390C 2D47 FFF4 move.l [A6 - 0xC], D7
00003910 41ED F0FE lea.l A0, [A5 - 0xF02]
00003914 200B move.l D0, A3
00003916 9088 sub.l D0, A0
00003918 2F3C 0000 0014 move.l -[A7], 0x14
0000391E 2F00 move.l -[A7], D0
00003920 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00003924 3800 move.w D4, D0
00003926 7002 moveq.l D0, 0x02
00003928 3D40 FFF2 move.w [A6 - 0xE], D0
label0000392C:
0000392C 47EB 0014 lea.l A3, [A3 + 0x14]
label00003930:
00003930 4A6B 0004 tst.w [A3 + 0x4]
00003934 6C00 FF7A bge -0x84 /* 000038B0 */
00003938 4A6E FFF2 tst.w [A6 - 0xE]
0000393C 6646 bne +0x48 /* 00003984 */
0000393E 41ED E258 lea.l A0, [A5 - 0x1DA8]
00003942 2848 movea.l A4, A0
00003944 6038 bra +0x3A /* 0000397E */
label00003946:
00003946 2F0C move.l -[A7], A4
00003948 486E 0008 pea.l [A6 + 0x8]
0000394C 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
00003950 508F addq.l A7, 8
00003952 2E00 move.l D7, D0
00003954 B0AE FFF4 cmp.l D0, [A6 - 0xC]
00003958 6C20 bge +0x22 /* 0000397A */
0000395A 2D47 FFF4 move.l [A6 - 0xC], D7
0000395E 41ED E258 lea.l A0, [A5 - 0x1DA8]
00003962 200C move.l D0, A4
00003964 9088 sub.l D0, A0
00003966 2F3C 0000 001E move.l -[A7], 0x1E
0000396C 2F00 move.l -[A7], D0
0000396E 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
00003972 3800 move.w D4, D0
00003974 7001 moveq.l D0, 0x01
00003976 3D40 FFF2 move.w [A6 - 0xE], D0
label0000397A:
0000397A 49EC 001E lea.l A4, [A4 + 0x1E]
label0000397E:
0000397E 4A6C 000C tst.w [A4 + 0xC]
00003982 66C2 bne -0x3C /* 00003946 */
label00003984:
00003984 302E FFF2 move.w D0, [A6 - 0xE]
00003988 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000398C 0000 0004 ori.b D0, 0x4
00003990 00F2 .incomplete
00003992 000A 0040 ori.b A2, 0x40 /* '@' */
00003996 00B0 0074 00DE 4A6E ori.l [A0 + D4 * 2 + 0x6E], 0x7400DE
0000399E 000C 6700 ori.b A4, 0x0
000039A2 00F0 .incomplete
000039A4 3F3C 000A move.w -[A7], 0xA /* '\n' */
000039A8 A9C8 syscall SysBeep
000039AA 6000 00E6 bra +0xE8 /* 00003A92 */
label000039AE:
000039AE 3004 move.w D0, D4
000039B0 C1FC 001E muls.w D0, 0x1E
000039B4 41ED E258 lea.l A0, [A5 - 0x1DA8]
000039B8 D1C0 add.l A0, D0
000039BA 3004 move.w D0, D4
000039BC 5240 addq.w D0, 1
000039BE C1FC 001E muls.w D0, 0x1E
000039C2 43ED E258 lea.l A1, [A5 - 0x1DA8]
000039C6 D3C0 add.l A1, D0
000039C8 7006 moveq.l D0, 0x06
label000039CA:
000039CA 20D9 move.l [A0]+, [A1]+
000039CC 51C8 FFFC dbf D0, -0x6 /* 000039CA */
000039D0 30D9 move.w [A0]+, [A1]+
000039D2 5244 addq.w D4, 1
000039D4 3004 move.w D0, D4
000039D6 C1FC 001E muls.w D0, 0x1E
000039DA 41ED E258 lea.l A0, [A5 - 0x1DA8]
000039DE D1C0 add.l A0, D0
000039E0 4A68 000C tst.w [A0 + 0xC]
000039E4 66C8 bne -0x36 /* 000039AE */
000039E6 6000 009A bra +0x9C /* 00003A82 */
label000039EA:
000039EA 3004 move.w D0, D4
000039EC C1FC 000A muls.w D0, 0xA /* '\n' */
000039F0 41ED F2F2 lea.l A0, [A5 - 0xD0E]
000039F4 D1C0 add.l A0, D0
000039F6 3004 move.w D0, D4
000039F8 5240 addq.w D0, 1
000039FA C1FC 000A muls.w D0, 0xA /* '\n' */
000039FE 43ED F2F2 lea.l A1, [A5 - 0xD0E]
00003A02 D3C0 add.l A1, D0
00003A04 20D9 move.l [A0]+, [A1]+
00003A06 20D9 move.l [A0]+, [A1]+
00003A08 30D9 move.w [A0]+, [A1]+
00003A0A 5244 addq.w D4, 1
00003A0C 3004 move.w D0, D4
00003A0E C1FC 000A muls.w D0, 0xA /* '\n' */
00003A12 41ED F2F2 lea.l A0, [A5 - 0xD0E]
00003A16 D1C0 add.l A0, D0
00003A18 0C50 2710 cmpi.w [A0], 0x2710
00003A1C 6DCC blt -0x32 /* 000039EA */
00003A1E 6000 0062 bra +0x64 /* 00003A82 */
label00003A22:
00003A22 3004 move.w D0, D4
00003A24 C1FC 0014 muls.w D0, 0x14
00003A28 41ED F0FE lea.l A0, [A5 - 0xF02]
00003A2C D1C0 add.l A0, D0
00003A2E 3004 move.w D0, D4
00003A30 5240 addq.w D0, 1
00003A32 C1FC 0014 muls.w D0, 0x14
00003A36 43ED F0FE lea.l A1, [A5 - 0xF02]
00003A3A D3C0 add.l A1, D0
00003A3C 7004 moveq.l D0, 0x04
label00003A3E:
00003A3E 20D9 move.l [A0]+, [A1]+
00003A40 51C8 FFFC dbf D0, -0x6 /* 00003A3E */
00003A44 5244 addq.w D4, 1
00003A46 3004 move.w D0, D4
00003A48 C1FC 0014 muls.w D0, 0x14
00003A4C 41ED F0FE lea.l A0, [A5 - 0xF02]
00003A50 D1C0 add.l A0, D0
00003A52 4A68 0004 tst.w [A0 + 0x4]
00003A56 6CCA bge -0x34 /* 00003A22 */
00003A58 6028 bra +0x2A /* 00003A82 */
label00003A5A:
00003A5A 3004 move.w D0, D4
00003A5C 48C0 ext.l D0
00003A5E E580 asl D0, 2
00003A60 41ED F388 lea.l A0, [A5 - 0xC78]
00003A64 D1C0 add.l A0, D0
00003A66 3004 move.w D0, D4
00003A68 5240 addq.w D0, 1
00003A6A 48C0 ext.l D0
00003A6C E580 asl D0, 2
00003A6E 43ED F388 lea.l A1, [A5 - 0xC78]
00003A72 D3C0 add.l A1, D0
00003A74 2091 move.l [A0], [A1]
00003A76 5244 addq.w D4, 1
00003A78 B86D F450 cmp.w D4, [A5 - 0xBB0]
00003A7C 6DDC blt -0x22 /* 00003A5A */
00003A7E 536D F450 subq.w [A5 - 0xBB0], 1
label00003A82:
00003A82 426D FEA0 clr.w [A5 - 0x160]
00003A86 486D FED4 pea.l [A5 - 0x12C]
00003A8A A928 syscall InvalRect
00003A8C 7001 moveq.l D0, 0x01
00003A8E 3B40 FE9E move.w [A5 - 0x162], D0
label00003A92:
00003A92 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
00003A96 4E5E unlink A6
00003A98 4E75 rts
00003A9A 4552 chk.w D2, [A2]
00003A9C 4153 chk.w D0, [A3]
00003A9E 4553 chk.w D2, [A3]
00003AA0 5455 addq.w [A5], 2
fn00003AA2:
00003AA2 4E56 0000 link A6, 0
00003AA6 486E 0008 pea.l [A6 + 0x8]
00003AAA 4EBA FA6C jsr [PC - 0x594 /* 00003518 */]
00003AAE 588F addq.l A7, 4
00003AB0 0C6D 0019 F450 cmpi.w [A5 - 0xBB0], 0x19
00003AB6 6D0E blt +0x10 /* 00003AC6 */
00003AB8 4879 0000 02B8 push.l 0x2B8
00003ABE 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
00003AC2 588F addq.l A7, 4
00003AC4 6036 bra +0x38 /* 00003AFC */
label00003AC6:
00003AC6 302D F450 move.w D0, [A5 - 0xBB0]
00003ACA 48C0 ext.l D0
00003ACC E580 asl D0, 2
00003ACE 41ED F388 lea.l A0, [A5 - 0xC78]
00003AD2 D1C0 add.l A0, D0
00003AD4 30AE 000A move.w [A0], [A6 + 0xA]
00003AD8 302D F450 move.w D0, [A5 - 0xBB0]
00003ADC 48C0 ext.l D0
00003ADE E580 asl D0, 2
00003AE0 41ED F388 lea.l A0, [A5 - 0xC78]
00003AE4 D1C0 add.l A0, D0
00003AE6 316E 0008 0002 move.w [A0 + 0x2], [A6 + 0x8]
00003AEC 526D F450 addq.w [A5 - 0xBB0], 1
00003AF0 486D FED4 pea.l [A5 - 0x12C]
00003AF4 A928 syscall InvalRect
00003AF6 7001 moveq.l D0, 0x01
00003AF8 3B40 FE9E move.w [A5 - 0x162], D0
label00003AFC:
00003AFC 4E5E unlink A6
00003AFE 4E75 rts
00003B00 4352 chk.w D1, [A2]
00003B02 4154 chk.w D0, [A4]
00003B04 4552 chk.w D2, [A2]
00003B06 5354 subq.w [A4], 1
fn00003B08:
00003B08 4E56 0000 link A6, 0
00003B0C 486E 0008 pea.l [A6 + 0x8]
00003B10 4EBA FA06 jsr [PC - 0x5FA /* 00003518 */]
00003B14 588F addq.l A7, 4
00003B16 3B6E 000A F45A move.w [A5 - 0xBA6], [A6 + 0xA]
00003B1C 3B6E 0008 F45C move.w [A5 - 0xBA4], [A6 + 0x8]
00003B22 486D FED4 pea.l [A5 - 0x12C]
00003B26 A928 syscall InvalRect
00003B28 7001 moveq.l D0, 0x01
00003B2A 3B40 FE9E move.w [A5 - 0x162], D0
00003B2E 4E5E unlink A6
00003B30 4E75 rts
00003B32 5348 subq.w A0, 1
00003B34 4950 chk.w D4, [A0]
00003B36 5054 addq.w [A4], 8
00003B38 5253 addq.w [A3], 1